module service some fix

This commit is contained in:
Билай Станислав 2024-10-24 11:49:19 +03:00
parent c2dfe632e7
commit 5ec081022d

View File

@ -306,7 +306,6 @@ class ModuleService
}
$fileHelper->recursiveRemoveDir($tmpModuleDirFull);
var_dump($tmpModuleDirFull);
return true;
}
@ -349,7 +348,7 @@ class ModuleService
if (!is_dir(RESOURCES_DIR . '/tmp/modules')) {
mkdir(RESOURCES_DIR . '/tmp/modules', 0777, true);
}
$fileHelper->pack($tmpModuleDirFull, RESOURCES_DIR . '/tmp/modules/' . $moduleName . '.itguild');
$fileHelper->pack($tmpModuleDirFull, RESOURCES_DIR . '/tmp/modules/' . $moduleName . '.igm');
$fileHelper->recursiveRemoveDir($tmpModuleDirFull);
}