We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5df8b21 + c77fccf commit 173a45eCopy full SHA for 173a45e
application/config/config.php
@@ -10,8 +10,12 @@
10
* Configuration for: Error reporting
11
* Useful to show every little problem during development, but only show hard errors in production
12
*/
13
-error_reporting(E_ALL);
14
-ini_set("display_errors", 1);
+define('ENVIRONMENT', 'development');
+
15
+if (ENVIRONMENT == 'development' || ENVIRONMENT == 'dev') {
16
+ error_reporting(E_ALL);
17
+ ini_set("display_errors", 1);
18
+}
19
20
/**
21
* Configuration for: URL
0 commit comments