From 1ff2c5593f0049333edec976d07f9a356d473276 Mon Sep 17 00:00:00 2001 From: vlakoff Date: Sun, 21 Jul 2013 00:27:08 +0200 Subject: Fix too verbose error logging on default production environment issue was present on PHP < 5.4 --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.php') diff --git a/index.php b/index.php index cfb003eb8..e5f570e8b 100755 --- a/index.php +++ b/index.php @@ -61,7 +61,7 @@ switch (ENVIRONMENT) case 'testing': case 'production': - error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED ^ E_STRICT); + error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT); ini_set('display_errors', 0); break; -- cgit v1.2.3-24-g4f1b