diff options
author | Timothy Warren <tim@timshomepage.net> | 2012-05-16 14:48:13 +0200 |
---|---|---|
committer | Timothy Warren <tim@timshomepage.net> | 2012-05-16 14:48:13 +0200 |
commit | 351c2e1b0d3fdca80a5483d708d7c71084226e68 (patch) | |
tree | 749c6accebdf6da1c301f9c2ee76c78bfe15954e /application | |
parent | 2ed226bd5ed19754c2fb28d4b98ac5423741f039 (diff) | |
parent | 8279420f989a8cda4427c3983ee919c6a1073dd7 (diff) |
Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into errors
Diffstat (limited to 'application')
-rw-r--r-- | application/views/errors/error_php.php | 5 |
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> |