We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99e602d commit 3cc8502Copy full SHA for 3cc8502
1 file changed
index.php
@@ -52,18 +52,16 @@
52
* By default development will show errors but testing and live will hide them.
53
*/
54
55
-// By default show all except notifications, deprecated and strict errors
56
-error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED ^ E_STRICT);
57
-
58
-// Show or hide errors depending on current environment
59
switch (ENVIRONMENT)
60
{
61
case 'development':
+ error_reporting(E_ALL);
62
ini_set('display_errors', 1);
63
break;
64
65
case 'testing':
66
case 'production':
+ error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED ^ E_STRICT);
67
ini_set('display_errors', 0);
68
69
0 commit comments