Moved backtrace constant to config/constants.php
diff --git a/application/config/constants.php b/application/config/constants.php
index 4a879d3..fcf1aae 100644
--- a/application/config/constants.php
+++ b/application/config/constants.php
@@ -36,6 +36,18 @@
define('FOPEN_WRITE_CREATE_STRICT', 'xb');
define('FOPEN_READ_WRITE_CREATE_STRICT', 'x+b');
+/*
+|--------------------------------------------------------------------------
+| Display Debug backtrace
+|--------------------------------------------------------------------------
+|
+| If set to true, a backtrace will be displayed along with php errors. If
+| error_reporting is disabled, the backtrace will not display, regardless
+| of this setting
+|
+*/
+define('SHOW_ERROR_BACKTRACE', TRUE);
+
/* End of file constants.php */
/* Location: ./application/config/constants.php */
\ No newline at end of file
diff --git a/index.php b/index.php
index 312fbfb..c50cfed 100644
--- a/index.php
+++ b/index.php
@@ -34,7 +34,6 @@
{
case 'development':
error_reporting(-1);
- define('SHOW_ERROR_BACKTRACE', TRUE);
break;
case 'testing':