mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 08:17:47 +02:00
Fix the use of an invalid config option (Bug #861)
Ordinarily this would have been quite low priority, but it had the potential to cause an error within the error handler, so I'm dealing with it now git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@5454 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -661,11 +661,7 @@ function message_die($msg_code, $msg_text = '', $msg_title = '', $err_line = '',
|
||||
}
|
||||
}
|
||||
|
||||
if ( empty($template) )
|
||||
{
|
||||
$template = new Template($phpbb_root_path . 'templates/' . $board_config['board_template']);
|
||||
}
|
||||
if ( empty($theme) )
|
||||
if ( empty($template) || empty($theme) )
|
||||
{
|
||||
$theme = setup_style($board_config['default_style']);
|
||||
}
|
||||
|
Reference in New Issue
Block a user