From 599cf82ff710d01de97231e3fa73fff2b514708e Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 11 Sep 2011 18:02:49 +0200 Subject: use system wide error_reporting value We shouldn't mess with that when it's already set in php.ini. Signed-off-by: Florian Pritz --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 6b00fa3cb..468be6552 100755 --- a/index.php +++ b/index.php @@ -28,12 +28,12 @@ * By default development will show errors but testing and live will hide them. */ -if (defined('ENVIRONMENT')) +if (false && defined('ENVIRONMENT')) { switch (ENVIRONMENT) { case 'development': - error_reporting(E_ALL ^ E_NOTICE); + error_reporting(E_ALL); break; case 'testing': -- cgit v1.2.3-24-g4f1b