|
From: Jon O. <jon...@us...> - 2008-02-15 23:46:31
|
Update of /cvsroot/mxbb/mx_kb/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv31614/admin Modified Files: Tag: core28x admin_kb.php Log Message: updated sync code... Index: admin_kb.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/admin/admin_kb.php,v retrieving revision 1.5.2.1 retrieving revision 1.5.2.2 diff -C2 -d -r1.5.2.1 -r1.5.2.2 *** admin_kb.php 28 Jan 2008 03:09:27 -0000 1.5.2.1 --- admin_kb.php 15 Feb 2008 23:46:26 -0000 1.5.2.2 *************** *** 11,15 **** define( 'IN_PORTAL', true ); ! if ( file_exists( './../viewtopic.php' ) ) { define( 'IN_PHPBB', 1 ); --- 11,17 ---- define( 'IN_PORTAL', true ); ! $phpEx = substr(strrchr(__FILE__, '.'), 1); ! ! if ( @file_exists( './../viewtopic.'.$phpEx ) ) { define( 'IN_PHPBB', 1 ); *************** *** 31,35 **** require_once( $mx_mod_path . 'includes/functions_required.' . $phpEx ); require_once( $mx_mod_path . 'includes/functions_core.' . $phpEx ); ! // // instatiate the mx_request_vars class --- 33,37 ---- require_once( $mx_mod_path . 'includes/functions_required.' . $phpEx ); require_once( $mx_mod_path . 'includes/functions_core.' . $phpEx ); ! // // instatiate the mx_request_vars class |