summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Warren <tim@timshomepage.net>2011-10-18 12:50:06 +0200
committerTimothy Warren <tim@timshomepage.net>2011-10-18 12:50:06 +0200
commit5160cc9a869e27a696f93f64127eef15c54f5d64 (patch)
treef7c279eea53976fc0b3c0298196ca7529c7fd91c
parent8bf00384deafdb73e00422dd5c9f541564ea85ca (diff)
Renamed constant, added 10px margin to backtrace
-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'] ?>