blob: f2f71857ffbc8c32670a6417550afda5ebc24795 [file] [log] [blame]
Derek Allard2067d1a2008-11-13 22:59:24 +00001<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
2
3<h4>A PHP Error was encountered</h4>
4
5<p>Severity: <?php echo $severity; ?></p>
Derek Jones37f4b9c2011-07-01 17:56:50 -05006<p>Message: <?php echo $message; ?></p>
Derek Allard2067d1a2008-11-13 22:59:24 +00007<p>Filename: <?php echo $filepath; ?></p>
8<p>Line Number: <?php echo $line; ?></p>
Timothy Warrend609a592011-10-18 06:27:31 -04009
Timothy Warren56008282011-10-13 11:59:44 -030010<?php if(defined('SHOW_ERROR_BACKTRACE') && SHOW_ERROR_BACKTRACE === TRUE): ?>
Timothy Warrend609a592011-10-18 06:27:31 -040011
Timothy Warren56008282011-10-13 11:59:44 -030012 <p>Backtrace: </p>
13 <?php foreach(debug_backtrace() as $error): ?>
Timothy Warrend609a592011-10-18 06:27:31 -040014
15 <?php if(isset($error['file']) && ! stristr($error['file'], SYSDIR)): ?>
16 <p>
17 File: <?php echo $error['file'] ?><br />
18 Line: <?php echo $error['line'] ?><br />
19 Function: <?php echo $error['function'] ?>
20 </p>
21 <? endif ?>
22
Timothy Warren56008282011-10-13 11:59:44 -030023 <? endforeach ?></p>
Timothy Warrend609a592011-10-18 06:27:31 -040024
Timothy Warren56008282011-10-13 11:59:44 -030025<?php endif ?>
admin2b47ea42006-10-24 00:15:02 +000026</div>