|
@@ -76,6 +76,7 @@ class Upload extends Controller
|
|
$bucket = $storage->bucket('freeshippingvps');
|
|
$bucket = $storage->bucket('freeshippingvps');
|
|
|
|
|
|
$filePath = config('app.host') . '/uploads/' . $fileInfo['file_path'];
|
|
$filePath = config('app.host') . '/uploads/' . $fileInfo['file_path'];
|
|
|
|
+ Log::error($filePath);
|
|
$storageObj = $bucket->upload(
|
|
$storageObj = $bucket->upload(
|
|
fopen($filePath, 'r'),
|
|
fopen($filePath, 'r'),
|
|
[
|
|
[
|