|
From: Jon O. <jon...@us...> - 2005-05-22 21:31:09
|
Update of /cvsroot/mxbb/core27x In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1842/core27x Modified Files: common.php Log Message: test Index: common.php =================================================================== RCS file: /cvsroot/mxbb/core27x/common.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** common.php 6 May 2005 06:47:57 -0000 1.1 --- common.php 22 May 2005 21:31:00 -0000 1.2 *************** *** 208,211 **** --- 208,214 ---- include_once($mx_root_path . 'includes/mx_constants.'.$phpEx); include_once($mx_root_path . 'includes/mx_functions.'.$phpEx); + include_once($mx_root_path . 'includes/mx_functions_phpbb.' . $phpEx); + include_once($mx_root_path . 'includes/mx_auth.' . $phpEx); + include_once($mx_root_path . 'includes/mx_cache.' . $phpEx); $portal_config = get_info( PORTAL_TABLE, 'portal_id', 1 ); *************** *** 222,225 **** --- 225,233 ---- // + // instatiate the mx_cache class + // + $mx_cache = new mx_cache(); + + // // Mozilla navigation bar // Default items that should be valid on all pages. *************** *** 270,274 **** if( !($result = $db->sql_query($sql)) ) { ! message_die(CRITICAL_ERROR, "Could not query config information", "", __LINE__, __FILE__, $sql); } --- 278,282 ---- if( !($result = $db->sql_query($sql)) ) { ! mx_message_die(CRITICAL_ERROR, "Could not query config information", "", __LINE__, __FILE__, $sql); } *************** *** 317,321 **** if ( file_exists('install') || file_exists('contrib') ) { ! message_die(GENERAL_MESSAGE, 'Please ensure both the install/ and contrib/ directories are deleted'); } --- 325,329 ---- if ( file_exists('install') || file_exists('contrib') ) { ! mx_message_die(GENERAL_MESSAGE, 'Please ensure both the install/ and contrib/ directories are deleted'); } *************** *** 325,329 **** if( $board_config['board_disable'] && !defined("IN_ADMIN") && !defined("IN_LOGIN") ) { ! message_die(GENERAL_MESSAGE, 'Board_disable', 'Information'); } --- 333,337 ---- if( $board_config['board_disable'] && !defined("IN_ADMIN") && !defined("IN_LOGIN") ) { ! mx_message_die(GENERAL_MESSAGE, 'Board_disable', 'Information'); } |