Update import job

pull/2738/head
Daniel Supernault 4 years ago
parent f25452ea1a
commit 40f9aa6055
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -103,7 +103,7 @@ class ImportInstagram implements ShouldQueue
$storagePath = "public/m/{$monthHash}/{$userHash}"; $storagePath = "public/m/{$monthHash}/{$userHash}";
$dir = "app/$storagePath"; $dir = "app/$storagePath";
if(!is_dir(storage_path($dir))) { if(!is_dir(storage_path($dir))) {
mkdir(storage_path($dir), 0777, true); mkdir(storage_path($dir), 0755, true);
} }
$newPath = "$dir/$filename"; $newPath = "$dir/$filename";
$fs->move($path,storage_path($newPath)); $fs->move($path,storage_path($newPath));

Loading…
Cancel
Save