summaryrefslogtreecommitdiffstats
path: root/application/config
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2011-10-18 17:03:27 +0200
committerDerek Jones <derek.jones@ellislab.com>2011-10-18 17:03:27 +0200
commitbf18178de31418d3a8202a82a34e24bb7cb84579 (patch)
treef7c279eea53976fc0b3c0298196ca7529c7fd91c /application/config
parent961684280faccb7f32da700201422ecd8a454a0a (diff)
parent5160cc9a869e27a696f93f64127eef15c54f5d64 (diff)
Merge pull request #569 from timw4mail/patch-2
Added simple backtrace to php error file
Diffstat (limited to 'application/config')
-rw-r--r--application/config/constants.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/application/config/constants.php b/application/config/constants.php
index 4a879d360..ee177f5ad 100644
--- a/application/config/constants.php
+++ b/application/config/constants.php
@@ -36,6 +36,18 @@ define('FOPEN_READ_WRITE_CREATE', 'a+b');
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_DEBUG_BACKTRACE', TRUE);
+
/* End of file constants.php */
/* Location: ./application/config/constants.php */ \ No newline at end of file