Derek Jones | f4a4bd8 | 2011-10-20 12:18:42 -0500 | [diff] [blame] | 1 | <?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 Jones | 61df906 | 2011-10-21 09:55:40 -0500 | [diff] [blame] | 11 | * This source file is subject to the Academic Free License (AFL 3.0) that is |
Derek Jones | f4a4bd8 | 2011-10-20 12:18:42 -0500 | [diff] [blame] | 12 | * 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 Aker | 0defe5d | 2012-01-01 18:46:41 -0600 | [diff] [blame] | 21 | * @copyright Copyright (c) 2008 - 2012, EllisLab, Inc. (http://ellislab.com/) |
Derek Jones | f4a4bd8 | 2011-10-20 12:18:42 -0500 | [diff] [blame] | 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 Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 29 | <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 Jones | 37f4b9c | 2011-07-01 17:56:50 -0500 | [diff] [blame] | 34 | <p>Message: <?php echo $message; ?></p> |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 35 | <p>Filename: <?php echo $filepath; ?></p> |
| 36 | <p>Line Number: <?php echo $line; ?></p> |
Timothy Warren | d609a59 | 2011-10-18 06:27:31 -0400 | [diff] [blame] | 37 | |
Timothy Warren | 5160cc9 | 2011-10-18 06:50:06 -0400 | [diff] [blame] | 38 | <?php if(defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === TRUE): ?> |
Timothy Warren | d609a59 | 2011-10-18 06:27:31 -0400 | [diff] [blame] | 39 | |
Timothy Warren | 5600828 | 2011-10-13 11:59:44 -0300 | [diff] [blame] | 40 | <p>Backtrace: </p> |
| 41 | <?php foreach(debug_backtrace() as $error): ?> |
Timothy Warren | d609a59 | 2011-10-18 06:27:31 -0400 | [diff] [blame] | 42 | |
| 43 | <?php if(isset($error['file']) && ! stristr($error['file'], SYSDIR)): ?> |
Timothy Warren | 5160cc9 | 2011-10-18 06:50:06 -0400 | [diff] [blame] | 44 | <p style="margin-left:10px"> |
Timothy Warren | d609a59 | 2011-10-18 06:27:31 -0400 | [diff] [blame] | 45 | File: <?php echo $error['file'] ?><br /> |
| 46 | Line: <?php echo $error['line'] ?><br /> |
| 47 | Function: <?php echo $error['function'] ?> |
| 48 | </p> |
Burak Erdem | 7710854 | 2011-10-23 01:00:11 +0300 | [diff] [blame] | 49 | <?php endif ?> |
Timothy Warren | d609a59 | 2011-10-18 06:27:31 -0400 | [diff] [blame] | 50 | |
Burak Erdem | 7710854 | 2011-10-23 01:00:11 +0300 | [diff] [blame] | 51 | <?php endforeach ?></p> |
Timothy Warren | d609a59 | 2011-10-18 06:27:31 -0400 | [diff] [blame] | 52 | |
Timothy Warren | 5600828 | 2011-10-13 11:59:44 -0300 | [diff] [blame] | 53 | <?php endif ?> |
Timothy Warren | 8bf0038 | 2011-10-18 06:28:41 -0400 | [diff] [blame] | 54 | |
admin | 2b47ea4 | 2006-10-24 00:15:02 +0000 | [diff] [blame] | 55 | </div> |