summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2013-07-21 10:35:02 +0200
committerAndrey Andreev <narf@devilix.net>2013-07-21 10:35:02 +0200
commitd4c8f84096ca976f13f8c63572b7297f9958a4bd (patch)
treea39538a19d08c858c414cc7db5136f4d09b56bfd /index.php
parent2aa622c37e4e67dd28cbafdc9da14134293479ad (diff)
parent1ff2c5593f0049333edec976d07f9a356d473276 (diff)
Merge pull request #2545 from vlakoff/develop-3
Fix too verbose error logging on default production environment
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;