fixed delete files
This commit is contained in:
parent
24b56d00c2
commit
19d4cfff0d
|
|
@ -135,7 +135,7 @@ class FileManagerService
|
|||
return;
|
||||
}
|
||||
foreach ($files as $file) {
|
||||
$filePath = $basePath . '/' . $file;
|
||||
$filePath = public_path("catalog/{$basePath}/$file");
|
||||
if (file_exists($filePath)) {
|
||||
@unlink($filePath);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue