fixed path to image in bucket

parent 64fd6134
...@@ -20,7 +20,7 @@ function upload_to_bucket ($bucket_name, $path) { ...@@ -20,7 +20,7 @@ function upload_to_bucket ($bucket_name, $path) {
fopen($_FILES['file']['tmp_name'], 'r'), fopen($_FILES['file']['tmp_name'], 'r'),
['name' => $filename] ['name' => $filename]
); );
return ('https://storage.cloud.google.com/'.$bucket_name.'.appspot.com/'.$path.'/'.$filename); return ('https://storage.cloud.google.com/'.$bucket_name.'/'.$filename);
} }
} }
......
extension=memcached.so extension=memcached.so
; Use memcache as a session handler ; Use memcache as a session handler
session.save_handler = memcache session.save_handler = memcached
; Use a comma separated list of server urls to use for storage: ; 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" session.save_path="tcp://localhost:11211?persistent=1&weight=1&timeout=1&retry_interval=15"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment