module service some fix
This commit is contained in:
parent
c2dfe632e7
commit
5ec081022d
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user