summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorvlakoff <vlakoff@gmail.com>2013-07-21 00:27:08 +0200
committervlakoff <vlakoff@gmail.com>2013-07-21 00:27:08 +0200
commit1ff2c5593f0049333edec976d07f9a356d473276 (patch)
treea39538a19d08c858c414cc7db5136f4d09b56bfd /index.php
parent2aa622c37e4e67dd28cbafdc9da14134293479ad (diff)
Fix too verbose error logging on default production environment
issue was present on PHP < 5.4
Diffstat (limited to 'index.php')
-rwxr-xr-xindex.php2
1 files changed, 1 insertions, 1 deletions
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;