|
From: OryNider <ory...@us...> - 2008-02-12 08:30:09
|
Update of /cvsroot/mxbb/core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv20649 Modified Files: common.php Log Message: don't enable all errors pls Index: common.php =================================================================== RCS file: /cvsroot/mxbb/core/common.php,v retrieving revision 1.84 retrieving revision 1.85 diff -C2 -d -r1.84 -r1.85 *** common.php 12 Feb 2008 08:23:14 -0000 1.84 --- common.php 12 Feb 2008 08:30:03 -0000 1.85 *************** *** 27,33 **** //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 & ~E_NOTICE); ! //ini_set( 'display_errors', '1' ); ! //error_reporting (E_ERROR | E_WARNING | E_PARSE); // This will NOT report uninitialized variables ! //include($mx_root_path . 'modules/mx_shared/ErrorHandler/prepend.' . $phpEx); // For nice error output // ================================================================================ --- 27,33 ---- //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 & ~E_NOTICE); ! @ini_set( 'display_errors', '1' ); ! error_reporting (E_ERROR | E_WARNING | E_PARSE); // This will NOT report uninitialized variables ! include($mx_root_path . 'modules/mx_shared/ErrorHandler/prepend.' . $phpEx); // For nice error output // ================================================================================ |