From 9d6d39fe62745f1be4fb71858c33e1e85173464e Mon Sep 17 00:00:00 2001 From: Alex Lingris Date: Mon, 18 May 2026 18:07:38 +0300 Subject: [PATCH] fixed import --- src/Commands/Import.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Commands/Import.php b/src/Commands/Import.php index a724a92..2668ca4 100644 --- a/src/Commands/Import.php +++ b/src/Commands/Import.php @@ -127,9 +127,8 @@ class Import extends Command // Remove existing files directory or create it if missing if (is_dir($destFilesDir)) { exec("rm -rf " . escapeshellarg($destFilesDir)); - } else { - mkdir($destFilesDir, 0755, true); } + mkdir($destFilesDir, 0755, true); exec( sprintf(