Нашел почему не удаляет zip файлы. В файле admin/controller/extension/module/exchange1c.php:
Вот это
if ($filesize) {
chmod($uplod_file , 0664);
$xmlfiles = $this->extractZip($uplod_file, $error);
if ($error) {
$this->echo_message(0, "modeFile(): Error extract file: " . $uplod_file);
if ($this->config->get('exchange1c_not_delete_files_after_import') != 1) {
$this->log("Удален файл: " . $uplod_file);
unlink($uplod_file);
}
return false;
};
} else {
$this->echo_message(0, "modeFile(): Error create file");
}
Заменить на
if ($filesize) {
chmod($uplod_file , 0664);
$xmlfiles = $this->extractZip($uplod_file, $error);
if ($error) {
$this->echo_message(0, "modeFile(): Error extract file: " . $uplod_file);
return false;
}
if ($this->config->get('exchange1c_not_delete_files_after_import') != 1) {
$this->log("Удален файл: " . $uplod_file);
unlink($uplod_file);
}
} else {
$this->echo_message(0, "modeFile(): Error create file");
}