mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
save graham temporarly some headaches. ;)
git-svn-id: file:///svn/phpbb/trunk@5722 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -204,6 +204,13 @@ class template
|
||||
trigger_error("template->_tpl_load(): No file specified for handle $handle", E_USER_ERROR);
|
||||
}
|
||||
|
||||
// Just compile if no user object is present (happens within the installer)
|
||||
if (!$user)
|
||||
{
|
||||
$compile->_tpl_load_file($handle);
|
||||
return false;
|
||||
}
|
||||
|
||||
if ($user->theme['template_storedb'])
|
||||
{
|
||||
$sql = 'SELECT * FROM ' . STYLES_TPLDATA_TABLE . '
|
||||
|
Reference in New Issue
Block a user