diff --git a/kernel/modules/module_shop_client/controllers/ModuleShopClientController.php b/kernel/modules/module_shop_client/controllers/ModuleShopClientController.php index 376001d..b6f880d 100644 --- a/kernel/modules/module_shop_client/controllers/ModuleShopClientController.php +++ b/kernel/modules/module_shop_client/controllers/ModuleShopClientController.php @@ -256,8 +256,7 @@ class ModuleShopClientController extends AdminController if ($this->adminThemeService->install('/resources/tmp/admin_themes/' . basename($adminThemeInfo['path_to_archive']))) { Flash::setMessage("success", "Тема админ-панели успешно загружена."); } else { - Session::start(); - Session::set("error", implode(";", $this->adminThemeService->getErrors())); + Flash::setMessage("error", implode(";", $this->adminThemeService->getErrors())); } $this->redirect('/admin/module_shop_client', 302);