|
From: Jon O. <jon...@us...> - 2006-06-17 20:09:11
|
Update of /cvsroot/mxbb/core In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv20300 Modified Files: common.php index.php Log Message: Clean up... Index: common.php =================================================================== RCS file: /cvsroot/mxbb/core/common.php,v retrieving revision 1.53 retrieving revision 1.54 diff -C2 -d -r1.53 -r1.54 *** common.php 29 May 2006 15:37:03 -0000 1.53 --- common.php 17 Jun 2006 20:09:06 -0000 1.54 *************** *** 19,22 **** --- 19,32 ---- $mx_starttime = $mx_starttime[1] + $mx_starttime[0]; + // + // 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 + include($mx_root_path . 'modules/mx_shared/ErrorHandler/prepend.php'); // For nice error output + + // ================================================================================ // The following code is based on common.php from phpBB Index: index.php =================================================================== RCS file: /cvsroot/mxbb/core/index.php,v retrieving revision 1.56 retrieving revision 1.57 diff -C2 -d -r1.56 -r1.57 *** index.php 29 May 2006 15:37:03 -0000 1.56 --- index.php 17 Jun 2006 20:09:06 -0000 1.57 *************** *** 13,25 **** // - // 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 - include($mx_root_path . 'modules/mx_shared/ErrorHandler/prepend.php'); // For nice error output - - // // Let's include some stuff... // --- 13,16 ---- |