mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-11 19:24:01 +02:00
- some fixes/changes
git-svn-id: file:///svn/phpbb/trunk@5035 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -157,7 +157,7 @@ class template
|
||||
trigger_error("template->_tpl_load(): No file specified for handle $handle", E_USER_ERROR);
|
||||
}
|
||||
|
||||
if (!file_exists($this->files[$handle]))
|
||||
if (!file_exists($this->files[$handle]) && !empty($user->theme['secondary']))
|
||||
{
|
||||
$this->tpl = 'secondary';
|
||||
$this->files[$handle] = $phpbb_root_path . 'styles/' . $user->theme['secondary']['template_path'] . '/template/' . $this->filename[$handle];
|
||||
|
Reference in New Issue
Block a user