summaryrefslogtreecommitdiffstats
path: root/application/views/errors
diff options
context:
space:
mode:
authorTimothy Warren <tim@timshomepage.net>2012-05-16 14:48:13 +0200
committerTimothy Warren <tim@timshomepage.net>2012-05-16 14:48:13 +0200
commit351c2e1b0d3fdca80a5483d708d7c71084226e68 (patch)
tree749c6accebdf6da1c301f9c2ee76c78bfe15954e /application/views/errors
parent2ed226bd5ed19754c2fb28d4b98ac5423741f039 (diff)
parent8279420f989a8cda4427c3983ee919c6a1073dd7 (diff)
Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into errors
Diffstat (limited to 'application/views/errors')
-rw-r--r--application/views/errors/error_php.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/application/views/errors/error_php.php b/application/views/errors/error_php.php
index 3855720de..b76dc8a9e 100644
--- a/application/views/errors/error_php.php
+++ b/application/views/errors/error_php.php
@@ -40,12 +40,15 @@
<p>Backtrace: </p>
<?php foreach(debug_backtrace() as $error): ?>
- <?php if(isset($error['file']) && ! stristr($error['file'], SYSDIR)): ?>
+ <?php if(isset($error['file']) &&
+ strpos($error['file'], realpath(BASEPATH)) !== 0): ?>
+
<p style="margin-left:10px">
File: <?php echo $error['file'] ?><br />
Line: <?php echo $error['line'] ?><br />
Function: <?php echo $error['function'] ?>
</p>
+
<?php endif ?>
<?php endforeach ?></p>