Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
tetiana yaremko
/
web-app-group2
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
15980d02
authored
May 12, 2020
by
tetiana yaremko
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
upload file on live server
parent
92467d34
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
7 deletions
application/config/config.php
application/config/config.php
View file @
15980d02
...
...
@@ -540,11 +540,7 @@ $config['proxy_ips'] = '';
$config
[
'upload_bucket'
]
=
'wbt-2-ty-272811.appspot.com'
;
$config
[
'upload_path'
]
=
ENVIRONMENT
==
'production'
?
'gs://'
.
$config
[
'upload_bucket'
]
:
'./uploads/'
;
$config
[
'upload_path'
]
=
'gs://'
.
$config
[
'upload_bucket'
];
// Prefix for building public URL to the uploaded file
$config
[
'upload_prefix'
]
=
ENVIRONMENT
==
'production'
?
'https://storage.cloud.google.com/'
.
$config
[
'upload_bucket'
]
.
'/'
:
$config
[
'base_url'
]
.
'uploads/'
;
$config
[
'upload_prefix'
]
=
'https://storage.cloud.google.com/'
.
$config
[
'upload_bucket'
]
.
'/'
;
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