flash msg fix
This commit is contained in:
parent
2655a793f5
commit
6242304843
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user