mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-02-23 15:07:19 +08:00
Fix Themes Path
This commit is contained in:
parent
6884701de1
commit
92f072a861
1 changed files with 2 additions and 2 deletions
|
@ -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/')]);
|
||||
|
|
Loading…
Reference in a new issue