Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Arturo Montejo Ráez
/
wbt-web-app
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
70836500
authored
Apr 22, 2020
by
Arturo Montejo Ráez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
updated config parameters for upload helper
parent
955a674b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
application/config/config.php
application/config/config.php
View file @
70836500
...
...
@@ -530,8 +530,15 @@ $config['proxy_ips'] = '';
| amontejo@ujaen.es - 2020
--------------------------------------------------------------------*/
// Name of your bucket in cloud storage service
$config
[
'upload_bucket'
]
=
'wbt2020.appspot.com'
;
// Destination storage path (don't forget trailing '/')
$config
[
'upload_path'
]
=
ENVIRONMENT
==
'production'
?
'gs://wbt2020.appspot.com/uploads/'
:
'./uploads/'
;
$config
[
'upload_path'
]
=
ENVIRONMENT
==
'production'
?
'gs://'
.
$config
[
'upload_bucket'
]
:
'./uploads/'
;
// Prefix for building public URL to the uploaded file
$config
[
'upload_prefix'
]
=
ENVIRONMENT
==
'production'
?
'https://storage.cloud.google.com/wbt2020.appspot.com/uploads/'
:
$config
[
'base_url'
]
.
'uploads/'
;
\ No newline at end of file
$config
[
'upload_prefix'
]
=
ENVIRONMENT
==
'production'
?
'https://storage.cloud.google.com/'
.
$config
[
'upload_bucket'
]
.
'/'
:
$config
[
'base_url'
]
.
'uploads/'
;
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment