From 3adfe6407a93c8bd78400d45c0371f93d6fb9414 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Mon, 11 Jul 2011 08:40:53 -0700 Subject: [PATCH] Turned off display_errors runtime directive. --- public/index.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/public/index.php b/public/index.php index eb184739..6d4a6264 100644 --- a/public/index.php +++ b/public/index.php @@ -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.