blob: b76dc8a9e9a0bb7d0787f5c37c218ba3879d3486 [file] [log] [blame]
Andrey Andreeve734b382012-03-26 13:42:36 +03001<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
Derek Jonesf4a4bd82011-10-20 12:18:42 -05002/**
3 * CodeIgniter
4 *
Phil Sturgeon07c1ac82012-03-09 17:03:37 +00005 * An open source application development framework for PHP 5.2.4 or newer
Derek Jonesf4a4bd82011-10-20 12:18:42 -05006 *
7 * NOTICE OF LICENSE
Andrey Andreeve734b382012-03-26 13:42:36 +03008 *
Derek Jonesf4a4bd82011-10-20 12:18:42 -05009 * Licensed under the Academic Free License version 3.0
Andrey Andreeve734b382012-03-26 13:42:36 +030010 *
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
Greg Aker0defe5d2012-01-01 18:46:41 -060021 * @copyright Copyright (c) 2008 - 2012, EllisLab, Inc. (http://ellislab.com/)
Derek Jonesf4a4bd82011-10-20 12:18:42 -050022 * @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
Andrey Andreeve734b382012-03-26 13:42:36 +030038<?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === TRUE): ?>
39
Timothy Warren56008282011-10-13 11:59:44 -030040 <p>Backtrace: </p>
41 <?php foreach(debug_backtrace() as $error): ?>
Andrey Andreeve734b382012-03-26 13:42:36 +030042
Alan Jenkins04d40912012-04-30 16:04:43 +010043 <?php if(isset($error['file']) &&
44 strpos($error['file'], realpath(BASEPATH)) !== 0): ?>
45
Timothy Warren5160cc92011-10-18 06:50:06 -040046 <p style="margin-left:10px">
Timothy Warrend609a592011-10-18 06:27:31 -040047 File: <?php echo $error['file'] ?><br />
48 Line: <?php echo $error['line'] ?><br />
49 Function: <?php echo $error['function'] ?>
50 </p>
Alan Jenkins04d40912012-04-30 16:04:43 +010051
Burak Erdem77108542011-10-23 01:00:11 +030052 <?php endif ?>
Andrey Andreeve734b382012-03-26 13:42:36 +030053
Burak Erdem77108542011-10-23 01:00:11 +030054 <?php endforeach ?></p>
Timothy Warrend609a592011-10-18 06:27:31 -040055
Timothy Warren56008282011-10-13 11:59:44 -030056<?php endif ?>
Timothy Warren8bf00382011-10-18 06:28:41 -040057
admin2b47ea42006-10-24 00:15:02 +000058</div>