Turned off display_errors runtime directive.

This commit is contained in:
Taylor Otwell 2011-07-11 08:40:53 -07:00
parent 4b25d9e4d2
commit 3adfe6407a
1 changed files with 4 additions and 2 deletions

View File

@ -35,9 +35,11 @@
spl_autoload_register(require SYS_PATH.'loader'.EXT); spl_autoload_register(require SYS_PATH.'loader'.EXT);
// -------------------------------------------------------------- // --------------------------------------------------------------
// Set the error reporting level. // Set the error reporting and display levels.
// -------------------------------------------------------------- // --------------------------------------------------------------
error_reporting((System\Config::get('error.detail')) ? E_ALL | E_STRICT : 0); error_reporting(E_ALL | E_STRICT);
ini_set('display_errors', 'Off');
// -------------------------------------------------------------- // --------------------------------------------------------------
// Register the error handlers. // Register the error handlers.