admin theme

This commit is contained in:
2024-09-10 16:44:27 +03:00
parent 89b6f1ac8c
commit 69b27d4975
111 changed files with 16247 additions and 1 deletions

View File

@ -13,6 +13,8 @@ const KERNEL_ADMIN_THEMES_DIR = __DIR__ . "/kernel/admin_themes";
const CONSOLE_DIR = __DIR__ . "/kernel/console";
const RESOURCES_DIR = __DIR__ . "/resources";
const APP_DIR = ROOT_DIR . "/app";
function getConst($text): array|false|string
@ -24,6 +26,7 @@ function getConst($text): array|false|string
"{KERNEL}" => KERNEL_DIR,
"{KERNEL_MODULES}" => KERNEL_MODULES_DIR,
"{CONSOLE}" => CONSOLE_DIR,
"{APP}" => APP_DIR,
];
$str = $text;