|
|
|
@ -447,7 +447,7 @@ class Collector extends Command |
|
|
|
$md5 = md5($raw); |
|
|
|
$filename = 'collect/images/' . date('Y-m-d') . '/' . $md5 . '.' . $ext; |
|
|
|
|
|
|
|
if (file_exists(storage_path($filename)) || Storage::put($filename, $raw)) { |
|
|
|
if (file_exists(storage_path($filename)) || Storage::put('public/' . $filename, $raw)) { |
|
|
|
return $filename; |
|
|
|
} else { |
|
|
|
return ''; |
|
|
|
|