|
From: Jon O. <jon...@us...> - 2005-12-16 18:58:52
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9316/includes Modified Files: mx_functions_auth.php Log Message: a couple of commits - sprung from last day's intense bugtracking at mxbb-portal.com. be prepaired for more tonight. Index: mx_functions_auth.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_auth.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** mx_functions_auth.php 11 Dec 2005 16:13:39 -0000 1.6 --- mx_functions_auth.php 16 Dec 2005 18:58:44 -0000 1.7 *************** *** 421,427 **** if( $mode == 'kb' ) { ! include_once($mx_root_path . 'modules/mx_kb/kb/includes/functions_auth.' . $phpEx); ! $mx_kb_auth = new mx_kb_auth(); ! $is_auth_ary = $mx_kb_auth->auth(AUTH_VIEW, AUTH_LIST_ALL, $userdata); } else --- 421,435 ---- if( $mode == 'kb' ) { ! if (file_exists($mx_root_path . 'modules/mx_kb/kb/includes/functions_auth.' . $phpEx)) ! { ! include_once($mx_root_path . 'modules/mx_kb/kb/includes/functions_auth.' . $phpEx); ! $mx_kb_auth = new mx_kb_auth(); ! $is_auth_ary = $mx_kb_auth->auth(AUTH_VIEW, AUTH_LIST_ALL, $userdata); ! } ! else ! { ! include_once($mx_root_path . 'modules/mx_kb/includes/functions_kb_auth.' . $phpEx); ! $is_auth_ary = auth(AUTH_VIEW, AUTH_LIST_ALL, $userdata); ! } } else |