|
From: Florin C B. <ory...@us...> - 2013-06-17 15:54:50
|
Update of /cvsroot/mxbb/mx_kb/admin In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv10224 Modified Files: admin_kb.php Log Message: Index: admin_kb.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/admin/admin_kb.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** admin_kb.php 3 Jun 2008 20:08:18 -0000 1.7 --- admin_kb.php 17 Jun 2013 15:54:47 -0000 1.8 *************** *** 9,20 **** */ - define( 'IN_PORTAL', true ); - $phpEx = substr(strrchr(__FILE__, '.'), 1); if ( @file_exists( './../viewtopic.'.$phpEx ) ) { ! define( 'IN_PHPBB', 1 ); ! define( 'MXBB_MODULE', false ); // --- 9,19 ---- */ $phpEx = substr(strrchr(__FILE__, '.'), 1); if ( @file_exists( './../viewtopic.'.$phpEx ) ) { ! @define( 'IN_PHPBB', 1 ); ! @define( 'IN_PORTAL', 1 ); ! @define( 'MXBB_MODULE', false ); // *************** *** 35,40 **** else { ! define( 'IN_PORTAL', 1 ); ! define( 'MXBB_MODULE', true ); // --- 34,38 ---- else { ! @define( 'MXBB_MODULE', true ); // *************** *** 51,55 **** $setmodules_admin_path = $setmodules_module_path . 'admin/'; ! define( 'MXBB_27x', file_exists( $setmodules_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); --- 49,53 ---- $setmodules_admin_path = $setmodules_module_path . 'admin/'; ! @define( 'MXBB_27x', file_exists( $setmodules_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); *************** *** 58,63 **** if ( !empty( $setmodules ) ) { - include_once( $setmodules_root_path . $setmodules_module_path . 'kb/includes/kb_constants.' . $phpEx ); - $filename = basename( __FILE__ ); $module['KB_title']['1_Configuration'] = $setmodules_admin_path . $filename . "?action=settings"; --- 56,59 ---- *************** *** 70,77 **** } - // // Includes - // require( $mx_root_path . '/admin/pagestart.' . $phpEx ); include( $module_root_path . 'kb/kb_common.' . $phpEx ); --- 66,72 ---- } // Includes require( $mx_root_path . '/admin/pagestart.' . $phpEx ); + include_once( $setmodules_root_path . $setmodules_module_path . 'kb/includes/kb_constants.' . $phpEx ); include( $module_root_path . 'kb/kb_common.' . $phpEx ); |