summaryrefslogtreecommitdiffstats
path: root/application/errors
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 /application/errors
parent8bf00384deafdb73e00422dd5c9f541564ea85ca (diff)
Renamed constant, added 10px margin to backtrace
Diffstat (limited to 'application/errors')
-rw-r--r--application/errors/error_php.php4
1 files changed, 2 insertions, 2 deletions
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'] ?>