|
From: James A. <th...@us...> - 2001-10-16 14:43:36
|
Update of /cvsroot/phpbb/phpBB2/includes
In directory usw-pr-cvs1:/tmp/cvs-serv6171/includes
Modified Files:
functions.php sessions.php
Log Message:
Fixed some bugs with banning and some code that wasnt updated when we changed the theme/template system
Index: functions.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/includes/functions.php,v
retrieving revision 1.75
retrieving revision 1.76
diff -C2 -r1.75 -r1.76
*** functions.php 2001/10/15 20:15:46 1.75
--- functions.php 2001/10/16 10:35:24 1.76
***************
*** 1070,1074 ****
if( empty($theme) )
{
! $theme = setuptheme($board_config['default_theme']);
}
--- 1070,1074 ----
if( empty($theme) )
{
! $theme = setup_style($board_config['default_style']);
}
Index: sessions.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/includes/sessions.php,v
retrieving revision 1.35
retrieving revision 1.36
diff -C2 -r1.35 -r1.36
*** sessions.php 2001/10/15 01:35:32 1.35
--- sessions.php 2001/10/16 10:35:24 1.36
***************
*** 79,83 ****
if($ban_info['ban_ip'] || $ban_info['ban_userid'])
{
! include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '.'.$phpEx);
message_die(CRITICAL_MESSAGE, $lang['You_been_banned']);
}
--- 79,83 ----
if($ban_info['ban_ip'] || $ban_info['ban_userid'])
{
! include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.'.$phpEx);
message_die(CRITICAL_MESSAGE, $lang['You_been_banned']);
}
|