|
From: FlorinCB <ory...@us...> - 2008-08-16 01:46:23
|
Update of /cvsroot/mxbb/core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29865 Modified Files: Tag: core28x common.php Log Message: Added phpbb_auth class, not added mx_backend stuff yet Index: common.php =================================================================== RCS file: /cvsroot/mxbb/core/common.php,v retrieving revision 1.67.2.14 retrieving revision 1.67.2.15 diff -C2 -d -r1.67.2.14 -r1.67.2.15 *** common.php 15 Jul 2008 22:13:12 -0000 1.67.2.14 --- common.php 16 Aug 2008 01:45:49 -0000 1.67.2.15 *************** *** 23,28 **** // DEBUG AND ERROR HANDLING // ! //define( 'DEBUG', 1 ); // [Admin Option] Show Footer debug stats - Actually set in phpBB/includes/constants.php ! //define( 'DEBUG_EXTRA', 1 ); // [Admin Option] Show memory usage. Show link to full SQL debug report in footer. Beware, this makes the page slow to load. For debugging only. //error_reporting(E_ALL); error_reporting (E_ERROR | E_WARNING | E_PARSE); // This will NOT report uninitialized variables --- 23,28 ---- // DEBUG AND ERROR HANDLING // ! //define( 'DEBUG', 1 ); // [Admin Option] Show Footer debug stats - Actually set in phpBB/includes/constants.php ! //define( 'DEBUG_EXTRA', 1 ); // [Admin Option] Show memory usage. Show link to full SQL debug report in footer. Beware, this makes the page slow to load. For debugging only. //error_reporting(E_ALL); error_reporting (E_ERROR | E_WARNING | E_PARSE); // This will NOT report uninitialized variables *************** *** 312,315 **** --- 312,325 ---- // + // Get MX-Publisher config settings + // + $portal_config = $mx_cache->obtain_mxbb_config(); + + if (empty($portal_config['portal_version'])) + { + $portal_config = $mx_cache->obtain_mxbb_config(false); + } + + // // Instatiate the mx_bbcode class // *************** *** 317,323 **** // ! // Get mxBB config settings // ! $portal_config = $mx_cache->obtain_mxbb_config(); // --- 327,333 ---- // ! // Load backend // ! include_once($mx_root_path . 'includes/sessions/phpbb2/core.' . $phpEx); // |