From 5ec081022d3f9f236853d7f76214b0126757fde2 Mon Sep 17 00:00:00 2001 From: stasbilay02 Date: Thu, 24 Oct 2024 11:49:19 +0300 Subject: [PATCH] module service some fix --- kernel/services/ModuleService.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kernel/services/ModuleService.php b/kernel/services/ModuleService.php index 79e023e..bf65403 100644 --- a/kernel/services/ModuleService.php +++ b/kernel/services/ModuleService.php @@ -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); }