summaryrefslogtreecommitdiffstats
path: root/application/views/errors
diff options
context:
space:
mode:
Diffstat (limited to 'application/views/errors')
-rw-r--r--application/views/errors/cli/error_php.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/application/views/errors/cli/error_php.php b/application/views/errors/cli/error_php.php
index ed181a887..d977f8464 100644
--- a/application/views/errors/cli/error_php.php
+++ b/application/views/errors/cli/error_php.php
@@ -12,12 +12,12 @@ Line Number: <?php echo $line;?>
<?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === TRUE): ?>
Backtrace:
-<?php foreach (debug_backtrace() as $error): ?>
-<?php if (isset($error['file']) && strpos($error['file'], realpath(BASEPATH)) !== 0): ?>
+<?php foreach (debug_backtrace() as $error): ?>
+<?php if (isset($error['file']) && strpos($error['file'], realpath(BASEPATH)) !== 0): ?>
File: <?php echo $error['file'], "\n";?>
Line: <?php echo $error['line'], "\n";?>
Function: <?php echo $error['function'], "\n\n";?>
-<?php endif ?>
-<?php endforeach ?>
+<?php endif ?>
+<?php endforeach ?>
<?php endif ?>