fixed import

This commit is contained in:
2026-05-13 19:19:35 +03:00
parent 085c307137
commit 37ed966ac3
+2 -3
View File
@@ -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),
),