summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
Diffstat (limited to 'application')
-rw-r--r--application/config/constants.php2
-rw-r--r--application/errors/error_php.php4
2 files changed, 3 insertions, 3 deletions
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 */
diff --git a/application/errors/error_php.php b/application/errors/error_php.php
index b7fdec44a..514e477e8 100644
--- a/application/errors/error_php.php
+++ b/application/errors/error_php.php
@@ -7,13 +7,13 @@
<p>Filename: <?php echo $filepath; ?></p>
<p>Line Number: <?php echo $line; ?></p>
-<?php if(defined('SHOW_ERROR_BACKTRACE') && SHOW_ERROR_BACKTRACE === TRUE): ?>
+<?php if(defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === TRUE): ?>
<p>Backtrace: </p>
<?php foreach(debug_backtrace() as $error): ?>
<?php if(isset($error['file']) && ! stristr($error['file'], SYSDIR)): ?>
- <p>
+ <p style="margin-left:10px">
File: <?php echo $error['file'] ?><br />
Line: <?php echo $error['line'] ?><br />
Function: <?php echo $error['function'] ?>