module service some fix
This commit is contained in:
parent
c2dfe632e7
commit
5ec081022d
@ -306,7 +306,6 @@ class ModuleService
|
|||||||
}
|
}
|
||||||
|
|
||||||
$fileHelper->recursiveRemoveDir($tmpModuleDirFull);
|
$fileHelper->recursiveRemoveDir($tmpModuleDirFull);
|
||||||
var_dump($tmpModuleDirFull);
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -349,7 +348,7 @@ class ModuleService
|
|||||||
if (!is_dir(RESOURCES_DIR . '/tmp/modules')) {
|
if (!is_dir(RESOURCES_DIR . '/tmp/modules')) {
|
||||||
mkdir(RESOURCES_DIR . '/tmp/modules', 0777, true);
|
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);
|
$fileHelper->recursiveRemoveDir($tmpModuleDirFull);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user