diff options
author | Timothy Warren <tim@timshomepage.net> | 2011-10-18 10:06:29 +0200 |
---|---|---|
committer | Timothy Warren <tim@timshomepage.net> | 2011-10-18 10:06:29 +0200 |
commit | 9a902cb3b9cb9e6133c42aa047f410ed4f6dcdf1 (patch) | |
tree | 2a55898fdc1bcc58de478dd1fabd5614704e90da | |
parent | 7d53c0d983dbe88f310b0547a6c76b1354d7208f (diff) |
Moved backtrace constant to config/constants.php
-rw-r--r-- | application/config/constants.php | 12 | ||||
-rw-r--r-- | index.php | 1 |
2 files changed, 12 insertions, 1 deletions
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 @@ -34,7 +34,6 @@ if (defined('ENVIRONMENT')) { case 'development': error_reporting(-1); - define('SHOW_ERROR_BACKTRACE', TRUE); break; case 'testing': |