fixed import
This commit is contained in:
@@ -127,9 +127,8 @@ class Import extends Command
|
|||||||
// Remove existing files directory or create it if missing
|
// Remove existing files directory or create it if missing
|
||||||
if (is_dir($destFilesDir)) {
|
if (is_dir($destFilesDir)) {
|
||||||
exec("rm -rf " . escapeshellarg($destFilesDir));
|
exec("rm -rf " . escapeshellarg($destFilesDir));
|
||||||
} else {
|
|
||||||
mkdir($destFilesDir, 0755, true);
|
|
||||||
}
|
}
|
||||||
|
mkdir($destFilesDir, 0755, true);
|
||||||
|
|
||||||
exec(
|
exec(
|
||||||
sprintf(
|
sprintf(
|
||||||
|
|||||||
Reference in New Issue
Block a user