mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Fix delete files issue
This commit is contained in:
parent
af9711ec3d
commit
5b4043d9ea
@ -1270,7 +1270,7 @@ class Client
|
|||||||
}
|
}
|
||||||
|
|
||||||
$content = file_get_contents($delete_files_txt);
|
$content = file_get_contents($delete_files_txt);
|
||||||
$files = explode('\n', $content);
|
$files = explode("\n", $content);
|
||||||
$processed = [];
|
$processed = [];
|
||||||
foreach ($files as $file) {
|
foreach ($files as $file) {
|
||||||
$file = trim(str_replace("\0", '', $this->productPath.'/'.$file));
|
$file = trim(str_replace("\0", '', $this->productPath.'/'.$file));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user