From 9a902cb3b9cb9e6133c42aa047f410ed4f6dcdf1 Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Tue, 18 Oct 2011 04:06:29 -0400 Subject: Moved backtrace constant to config/constants.php --- application/config/constants.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'application/config') diff --git a/application/config/constants.php b/application/config/constants.php index 4a879d360..fcf1aae89 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_ERROR_BACKTRACE', TRUE); + /* End of file constants.php */ /* Location: ./application/config/constants.php */ \ No newline at end of file -- cgit v1.2.3-24-g4f1b From d609a59ab5f30bc0ee0d9d5b619a1201fef59461 Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Tue, 18 Oct 2011 06:27:31 -0400 Subject: Minor formatting changes --- application/config/constants.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/config') diff --git a/application/config/constants.php b/application/config/constants.php index fcf1aae89..f41f86b74 100644 --- a/application/config/constants.php +++ b/application/config/constants.php @@ -41,7 +41,7 @@ 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 +| 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 | -- cgit v1.2.3-24-g4f1b From 5160cc9a869e27a696f93f64127eef15c54f5d64 Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Tue, 18 Oct 2011 06:50:06 -0400 Subject: Renamed constant, added 10px margin to backtrace --- application/config/constants.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/config') diff --git a/application/config/constants.php b/application/config/constants.php index f41f86b74..ee177f5ad 100644 --- a/application/config/constants.php +++ b/application/config/constants.php @@ -46,7 +46,7 @@ define('FOPEN_READ_WRITE_CREATE_STRICT', 'x+b'); | of this setting | */ -define('SHOW_ERROR_BACKTRACE', TRUE); +define('SHOW_DEBUG_BACKTRACE', TRUE); /* End of file constants.php */ -- cgit v1.2.3-24-g4f1b