|
From: Jon O. <jon...@us...> - 2008-01-28 21:59:59
|
Update of /cvsroot/mxbb/mx_pjirc In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv19618 Modified Files: index.php Log Message: hmmm...i have no idea what i have done ;) Index: index.php =================================================================== RCS file: /cvsroot/mxbb/mx_pjirc/index.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** index.php 7 Jun 2007 00:08:31 -0000 1.1 --- index.php 28 Jan 2008 21:59:55 -0000 1.2 *************** *** 17,21 **** $mx_module_path = "./"; ! $phpEx = substr(strrchr(__FILE__, '.'), 1); include_once($mx_root_path . 'common.'.$phpEx); --- 17,21 ---- $mx_module_path = "./"; ! $phpEx = substr(strrchr(__FILE__, '.'), 1); include_once($mx_root_path . 'common.'.$phpEx); *************** *** 23,27 **** //Start session management // ! $mx_user->init($user_ip, PAGE_INDEX); define('_PJIRC_CONFIG', true); --- 23,27 ---- //Start session management // ! $mx_user->init($user_ip, PAGE_INDEX); define('_PJIRC_CONFIG', true); *************** *** 31,35 **** if ( !$userdata['session_logged_in'] ) { ! redirect(append_sid($mx_root_path."login.".$phpEx."?redirect=modules/mx_pjirc/chat.".$phpEx, true)); exit; } --- 31,35 ---- if ( !$userdata['session_logged_in'] ) { ! mx_redirect(append_sid($mx_root_path."login.".$phpEx."?redirect=modules/mx_pjirc/chat.".$phpEx, true)); exit; } |