commit | 1ff2c5593f0049333edec976d07f9a356d473276 | [log] [tgz] |
---|---|---|
author | vlakoff <vlakoff@gmail.com> | Sun Jul 21 00:27:08 2013 +0200 |
committer | vlakoff <vlakoff@gmail.com> | Sun Jul 21 00:27:08 2013 +0200 |
tree | a39538a19d08c858c414cc7db5136f4d09b56bfd | |
parent | 2aa622c37e4e67dd28cbafdc9da14134293479ad [diff] |
Fix too verbose error logging on default production environment issue was present on PHP < 5.4
diff --git a/index.php b/index.php index cfb003e..e5f570e 100755 --- a/index.php +++ b/index.php
@@ -61,7 +61,7 @@ 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;