lots
This commit is contained in:
@@ -39,7 +39,11 @@ class RebuildThumbnails extends Command
|
||||
$filesDir = storage_path("app/public/" . $schema->path . "/");
|
||||
$thumbDir = storage_path("app/public/thumbs/" . $schema->path . "/");
|
||||
if (!file_exists($thumbDir)) {
|
||||
mkdir($thumbDir);
|
||||
make_dir_r($thumbDir);
|
||||
}
|
||||
|
||||
if (!file_exists($filesDir)) {
|
||||
make_dir_r($filesDir);
|
||||
}
|
||||
|
||||
$filesDirIterator = new DirectoryIterator($filesDir);
|
||||
|
||||
Reference in New Issue
Block a user