|
From: Jon O. <jon...@us...> - 2007-09-09 20:19:46
|
Update of /cvsroot/mxbb/mx_phpbb In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24972 Modified Files: mx_phpbb.php Log Message: for 2.9.x Index: mx_phpbb.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/mx_phpbb.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** mx_phpbb.php 17 Dec 2006 11:38:05 -0000 1.12 --- mx_phpbb.php 9 Sep 2007 20:19:43 -0000 1.13 *************** *** 60,63 **** --- 60,64 ---- include_once($mx_root_path . "modules/mx_phpbb/includes/forum_hack.$phpEx"); include_once($mx_root_path . "modules/mx_phpbb/includes/phpbb_constants.$phpEx"); + include($phpbb_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx); // Also include phpBB lang keys // *************** *** 68,72 **** if ( in_array($mx_forum->phpbb_script, $private_phpbb_script) && !$userdata['session_logged_in'] ) { ! mx_redirect( append_sid( $mx_root_path . "login.$phpEx?redirect=" . mx_this_url(), true ) ); } } --- 69,73 ---- if ( in_array($mx_forum->phpbb_script, $private_phpbb_script) && !$userdata['session_logged_in'] ) { ! mx_redirect( mx_append_sid( $mx_root_path . "login.$phpEx?redirect=" . mx_this_url(), true ) ); } } |