module service fix
This commit is contained in:
parent
42aca3c1c0
commit
8eae977357
@ -82,11 +82,11 @@ class Files
|
||||
if(is_dir($include)) {
|
||||
if ($include->getFilename() === 'app_modules') continue;
|
||||
|
||||
$tmpFolder = $folder . '/' . $include->getFilename() . '/';
|
||||
$tmpFolder = $folder . '/' . $include->getFilename();
|
||||
$this->recursiveAddFile($zip, $include, $tmpFolder);
|
||||
}
|
||||
if (is_file($include)) {
|
||||
$zip->addFile($include->getPathName(), $folder . $include->getFilename());
|
||||
$zip->addFile($include->getPathName(), $folder . "/" . $include->getFilename());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "Post",
|
||||
"version": "0.1",
|
||||
"version": "0.2",
|
||||
"author": "ITGuild",
|
||||
"slug": "post",
|
||||
"description": "Post module",
|
||||
|
@ -355,7 +355,7 @@ class ModuleService
|
||||
}
|
||||
$fileHelper->pack($tmpModuleDirFull, RESOURCES_DIR . '/tmp/modules/' . $moduleName . '.igm');
|
||||
|
||||
$fileHelper->recursiveRemoveDir($tmpModuleDirFull);
|
||||
//$fileHelper->recursiveRemoveDir($tmpModuleDirFull);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user