mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Fix the AdminPage.
This commit is contained in:
@@ -14,8 +14,8 @@ class AdminPage extends BasePage
|
||||
parent::__construct();
|
||||
|
||||
$tplpaths = [];
|
||||
if ($this->pdo->getSetting('style') != "default")
|
||||
$tplpaths["style_admin"] = WWW_DIR.'templates/'.$this->pdo->getSetting('style').'/views/admin';
|
||||
if ($this->settings->getSetting('style') != "default")
|
||||
$tplpaths["style_admin"] = WWW_DIR.'templates/'.$this->settings->getSetting('style').'/views/admin';
|
||||
$tplpaths["admin"] = WWW_DIR.'templates/default/views/admin';
|
||||
$tplpaths["frontend"] = WWW_DIR.'templates/default/views/frontend';
|
||||
$this->smarty->setTemplateDir($tplpaths);
|
||||
|
||||
Reference in New Issue
Block a user