Stay Collapse

This commit is contained in:
Ibnu Maksum
2024-02-13 16:22:00 +07:00
parent 3c9b05468e
commit 1022674780
3 changed files with 34 additions and 4 deletions

View File

@ -165,7 +165,7 @@ if (empty($_SESSION['Lang'])) {
}
$ui = new Smarty();
$ui->assign('_kolaps', $_COOKIE['kolaps']);
if (!empty($config['theme']) && $config['theme'] != 'default') {
$_theme = APP_URL . '/ui/themes/' . $config['theme'];
$ui->setTemplateDir(['custom' => File::pathFixer('ui/ui_custom/'), 'theme' => File::pathFixer('ui/themes/' . $config['theme']), 'default' => File::pathFixer('ui/ui/')]);