blob: ec2a3f10a90fc19b7629ef9aa543e77fb5b88d79 [file] [log] [blame]
Derek Jonesf4a4bd82011-10-20 12:18:42 -05001<?php
2/**
3 * CodeIgniter
4 *
5 * An open source application development framework for PHP 5.1.6 or newer
6 *
7 * NOTICE OF LICENSE
8 *
9 * Licensed under the Academic Free License version 3.0
10 *
Derek Jones61df9062011-10-21 09:55:40 -050011 * This source file is subject to the Academic Free License (AFL 3.0) that is
Derek Jonesf4a4bd82011-10-20 12:18:42 -050012 * bundled with this package in the files license_afl.txt / license_afl.rst.
13 * It is also available through the world wide web at this URL:
14 * http://opensource.org/licenses/AFL-3.0
15 * If you did not receive a copy of the license and are unable to obtain it
16 * through the world wide web, please send an email to
17 * licensing@ellislab.com so we can send you a copy immediately.
18 *
19 * @package CodeIgniter
20 * @author EllisLab Dev Team
21 * @copyright Copyright (c) 2008 - 2011, EllisLab, Inc. (http://ellislab.com/)
22 * @license http://opensource.org/licenses/AFL-3.0 Academic Free License (AFL 3.0)
23 * @link http://codeigniter.com
24 * @since Version 1.0
25 * @filesource
26 */
27?>
28
Derek Allard2067d1a2008-11-13 22:59:24 +000029<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
30
31<h4>A PHP Error was encountered</h4>
32
33<p>Severity: <?php echo $severity; ?></p>
Derek Jones37f4b9c2011-07-01 17:56:50 -050034<p>Message: <?php echo $message; ?></p>
Derek Allard2067d1a2008-11-13 22:59:24 +000035<p>Filename: <?php echo $filepath; ?></p>
36<p>Line Number: <?php echo $line; ?></p>
Timothy Warrend609a592011-10-18 06:27:31 -040037
Timothy Warren5160cc92011-10-18 06:50:06 -040038<?php if(defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === TRUE): ?>
Timothy Warrend609a592011-10-18 06:27:31 -040039
Timothy Warren56008282011-10-13 11:59:44 -030040 <p>Backtrace: </p>
41 <?php foreach(debug_backtrace() as $error): ?>
Timothy Warrend609a592011-10-18 06:27:31 -040042
43 <?php if(isset($error['file']) && ! stristr($error['file'], SYSDIR)): ?>
Timothy Warren5160cc92011-10-18 06:50:06 -040044 <p style="margin-left:10px">
Timothy Warrend609a592011-10-18 06:27:31 -040045 File: <?php echo $error['file'] ?><br />
46 Line: <?php echo $error['line'] ?><br />
47 Function: <?php echo $error['function'] ?>
48 </p>
49 <? endif ?>
50
Timothy Warren56008282011-10-13 11:59:44 -030051 <? endforeach ?></p>
Timothy Warrend609a592011-10-18 06:27:31 -040052
Timothy Warren56008282011-10-13 11:59:44 -030053<?php endif ?>
Timothy Warren8bf00382011-10-18 06:28:41 -040054
admin2b47ea42006-10-24 00:15:02 +000055</div>