1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

Fixed some bugs with banning and some code that wasnt updated when we changed the theme/template system

git-svn-id: file:///svn/phpbb/trunk@1218 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
James Atkinson
2001-10-16 10:35:24 +00:00
parent 7fd3e1943c
commit 46413f440e
3 changed files with 3 additions and 3 deletions

View File

@@ -1069,7 +1069,7 @@ function message_die($msg_code, $msg_text = "", $msg_title = "", $err_line = "",
if( empty($theme) )
{
$theme = setuptheme($board_config['default_theme']);
$theme = setup_style($board_config['default_style']);
}
//

View File

@@ -78,7 +78,7 @@ function session_begin($user_id, $user_ip, $page_id, $session_length, $login = 0
//
if($ban_info['ban_ip'] || $ban_info['ban_userid'])
{
include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '.'.$phpEx);
include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.'.$phpEx);
message_die(CRITICAL_MESSAGE, $lang['You_been_banned']);
}
else