diff options
author | Timothy Warren <tim@timshomepage.net> | 2012-05-16 21:39:14 +0200 |
---|---|---|
committer | Timothy Warren <tim@timshomepage.net> | 2012-05-16 21:39:14 +0200 |
commit | f7f44584c7acb8be6097445529f09255bfe34e5d (patch) | |
tree | bb8760229e5113bca38d7505a475c1e6c62f2059 /application/errors/error_php.php | |
parent | cb6c34eb5839d2b9c8d8ce70dcddde8931c0c277 (diff) | |
parent | c59e8720177d96a1dec1b2cbcd6296bbfceb4a2b (diff) |
Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into email
Diffstat (limited to 'application/errors/error_php.php')
-rw-r--r-- | application/errors/error_php.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/application/errors/error_php.php b/application/errors/error_php.php index 3855720de..b76dc8a9e 100644 --- a/application/errors/error_php.php +++ b/application/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> |