mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 08:13:16 +00:00
Update import job
This commit is contained in:
parent
f25452ea1a
commit
40f9aa6055
1 changed files with 104 additions and 104 deletions
|
@ -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…
Reference in a new issue