From 37ed966ac37e8d22ecfa7d95a9926ff22f5722bd Mon Sep 17 00:00:00 2001 From: lexx Date: Wed, 13 May 2026 19:19:35 +0300 Subject: [PATCH] fixed import --- src/Commands/Import.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Commands/Import.php b/src/Commands/Import.php index eab8ce5..a724a92 100644 --- a/src/Commands/Import.php +++ b/src/Commands/Import.php @@ -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), ),