diff options
author | vlakoff <vlakoff@gmail.com> | 2013-07-21 00:27:08 +0200 |
---|---|---|
committer | vlakoff <vlakoff@gmail.com> | 2013-07-21 00:27:08 +0200 |
commit | 1ff2c5593f0049333edec976d07f9a356d473276 (patch) | |
tree | a39538a19d08c858c414cc7db5136f4d09b56bfd /index.php | |
parent | 2aa622c37e4e67dd28cbafdc9da14134293479ad (diff) |
Fix too verbose error logging on default production environment
issue was present on PHP < 5.4
Diffstat (limited to 'index.php')
-rwxr-xr-x | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |