fixed import
This commit is contained in:
@@ -122,8 +122,7 @@ class Import extends Command
|
||||
|
||||
if (is_dir($srcFilesDir)) {
|
||||
$publicDisk = $fileService->loadPublicDisk();
|
||||
$filesDir = $publicDisk->path("lucent");
|
||||
$destFilesDir = $publicDisk->path("lucent");
|
||||
$destFilesDir = $publicDisk->path("lucent/files");
|
||||
|
||||
// Remove existing files directory or create it if missing
|
||||
if (is_dir($destFilesDir)) {
|
||||
@@ -134,7 +133,7 @@ class Import extends Command
|
||||
|
||||
exec(
|
||||
sprintf(
|
||||
"cp -R %s %s",
|
||||
"cp -R %s/* %s",
|
||||
escapeshellarg($srcFilesDir),
|
||||
escapeshellarg($destFilesDir),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user