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
8ee530ca
authored
Apr 22, 2020
by
Arturo Montejo Ráez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
fixed path to image in bucket
parent
64fd6134
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
application/helpers/upload_helper.php
php.ini
application/helpers/upload_helper.php
View file @
8ee530ca
...
...
@@ -20,7 +20,7 @@ function upload_to_bucket ($bucket_name, $path) {
fopen
(
$_FILES
[
'file'
][
'tmp_name'
],
'r'
),
[
'name'
=>
$filename
]
);
return
(
'https://storage.cloud.google.com/'
.
$bucket_name
.
'
.appspot.com/'
.
$path
.
'
/'
.
$filename
);
return
(
'https://storage.cloud.google.com/'
.
$bucket_name
.
'/'
.
$filename
);
}
}
...
...
php.ini
View file @
8ee530ca
extension
=
memcached.so
; Use memcache as a session handler
session.save_handler
=
memcache
session.save_handler
=
memcache
d
; Use a comma separated list of server urls to use for storage:
session.save_path
=
"tcp://localhost:11211?persistent=1&weight=1&timeout=1&retry_interval=15"
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