From 92f072a8614d685dee4e9f6b5c068b97c4c06a57 Mon Sep 17 00:00:00 2001 From: iBNu Maksum Date: Sun, 15 Oct 2023 12:58:15 +0000 Subject: [PATCH] Fix Themes Path --- system/boot.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/boot.php b/system/boot.php index 4181ca12..85a83f18 100644 --- a/system/boot.php +++ b/system/boot.php @@ -133,8 +133,8 @@ require $lan_file; $ui = new Smarty(); if (!empty($config['theme']) && $config['theme'] != 'default') { - $_theme = APP_URL . '/ui/theme/' . $config['theme']; - $ui->setTemplateDir(['custom' => File::pathFixer('ui/ui_custom/'), 'theme' => $_theme, 'default' => File::pathFixer('ui/ui/')]); + $_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/')]); } else { $_theme = APP_URL . '/ui/ui'; $ui->setTemplateDir(['custom' => File::pathFixer('ui/ui_custom/'), 'default' => File::pathFixer('ui/ui/')]);