Turned off display_errors runtime directive.
This commit is contained in:
parent
4b25d9e4d2
commit
3adfe6407a
|
@ -35,9 +35,11 @@
|
|||
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.
|
||||
|
|
Loading…
Reference in New Issue