priority menu item

This commit is contained in:
2024-09-24 14:57:25 +03:00
parent a48088581f
commit cb2c719b1b
12 changed files with 29 additions and 14 deletions

View File

@ -49,7 +49,7 @@ class AdminConsoleController extends ConsoleController
$this->optionService->createFromParams(
key: "active_admin_theme",
value: "/home/kavlar/php/MicroFrameWork/kernel/admin_themes/default",
value: "{KERNEL_ADMIN_THEMES}/default",
label: "Активная тема админпанели"
);
$this->out->r("create option active_admin_theme", "green");
@ -57,7 +57,7 @@ class AdminConsoleController extends ConsoleController
$this->optionService->createFromParams(
key: "module_paths",
value: "{\"paths\": [\"{KERNEL_MODULES}\", \"{APP}/modules\"]}",
label: "Пути к модулям "
label: "Пути к модулям"
);
$this->out->r("create option module_paths", "green");
@ -72,6 +72,8 @@ class AdminConsoleController extends ConsoleController
"label" => "Модули",
"url" => "/admin",
"slug" => "module",
"priority" => 1,
"status" => 2
]);
$this->out->r("create item menu module", "green");