We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d321c70 commit 9596f85Copy full SHA for 9596f85
config.php
@@ -31,3 +31,4 @@
31
// If URL-Rewriting works, then leave the line below as is
32
define('BASE_PATH',BASE_DIR);
33
define('SITE_TITLE', 'Your Site');
34
+// define('DEBUG_ENABLED', true);
index.php
@@ -40,8 +40,11 @@
40
include_once ROOT.DS.'controllers'.DS.'helpers.php';
41
/* Debug Mode */
42
43
-error_reporting(E_ALL);
44
-ini_set('display_errors','On');
+if (defined('DEBUG_ENABLED')) {
+ error_reporting(E_ALL);
45
+ ini_set('display_errors','On');
46
+
47
+}
48
49
/* Basic Bootstrapping */
50
0 commit comments