Andrey Andreev | c5536aa | 2012-11-01 17:33:58 +0200 | [diff] [blame] | 1 | <?php |
Derek Jones | f4a4bd8 | 2011-10-20 12:18:42 -0500 | [diff] [blame] | 2 | /** |
| 3 | * CodeIgniter |
| 4 | * |
Phil Sturgeon | 07c1ac8 | 2012-03-09 17:03:37 +0000 | [diff] [blame] | 5 | * An open source application development framework for PHP 5.2.4 or newer |
Derek Jones | f4a4bd8 | 2011-10-20 12:18:42 -0500 | [diff] [blame] | 6 | * |
| 7 | * NOTICE OF LICENSE |
Andrey Andreev | e734b38 | 2012-03-26 13:42:36 +0300 | [diff] [blame] | 8 | * |
Derek Jones | f4a4bd8 | 2011-10-20 12:18:42 -0500 | [diff] [blame] | 9 | * Licensed under the Academic Free License version 3.0 |
Andrey Andreev | e734b38 | 2012-03-26 13:42:36 +0300 | [diff] [blame] | 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 |
Andrey Andreev | 80500af | 2013-01-01 08:16:53 +0200 | [diff] [blame] | 21 | * @copyright Copyright (c) 2008 - 2013, 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 | */ |
Andrey Andreev | c5536aa | 2012-11-01 17:33:58 +0200 | [diff] [blame] | 27 | defined('BASEPATH') OR exit('No direct script access allowed'); |
Derek Jones | f4a4bd8 | 2011-10-20 12:18:42 -0500 | [diff] [blame] | 28 | ?> |
| 29 | |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 30 | <div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;"> |
| 31 | |
| 32 | <h4>A PHP Error was encountered</h4> |
| 33 | |
| 34 | <p>Severity: <?php echo $severity; ?></p> |
Derek Jones | 37f4b9c | 2011-07-01 17:56:50 -0500 | [diff] [blame] | 35 | <p>Message: <?php echo $message; ?></p> |
Derek Allard | 2067d1a | 2008-11-13 22:59:24 +0000 | [diff] [blame] | 36 | <p>Filename: <?php echo $filepath; ?></p> |
| 37 | <p>Line Number: <?php echo $line; ?></p> |
Timothy Warren | d609a59 | 2011-10-18 06:27:31 -0400 | [diff] [blame] | 38 | |
Andrey Andreev | e734b38 | 2012-03-26 13:42:36 +0300 | [diff] [blame] | 39 | <?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === TRUE): ?> |
| 40 | |
Timothy Warren | 5600828 | 2011-10-13 11:59:44 -0300 | [diff] [blame] | 41 | <p>Backtrace: </p> |
| 42 | <?php foreach(debug_backtrace() as $error): ?> |
Andrey Andreev | e734b38 | 2012-03-26 13:42:36 +0300 | [diff] [blame] | 43 | |
Alan Jenkins | 04d4091 | 2012-04-30 16:04:43 +0100 | [diff] [blame] | 44 | <?php if(isset($error['file']) && |
| 45 | strpos($error['file'], realpath(BASEPATH)) !== 0): ?> |
| 46 | |
Timothy Warren | 5160cc9 | 2011-10-18 06:50:06 -0400 | [diff] [blame] | 47 | <p style="margin-left:10px"> |
Timothy Warren | d609a59 | 2011-10-18 06:27:31 -0400 | [diff] [blame] | 48 | File: <?php echo $error['file'] ?><br /> |
| 49 | Line: <?php echo $error['line'] ?><br /> |
| 50 | Function: <?php echo $error['function'] ?> |
| 51 | </p> |
Alan Jenkins | 04d4091 | 2012-04-30 16:04:43 +0100 | [diff] [blame] | 52 | |
Burak Erdem | 7710854 | 2011-10-23 01:00:11 +0300 | [diff] [blame] | 53 | <?php endif ?> |
Andrey Andreev | e734b38 | 2012-03-26 13:42:36 +0300 | [diff] [blame] | 54 | |
Burak Erdem | 7710854 | 2011-10-23 01:00:11 +0300 | [diff] [blame] | 55 | <?php endforeach ?></p> |
Timothy Warren | d609a59 | 2011-10-18 06:27:31 -0400 | [diff] [blame] | 56 | |
Timothy Warren | 5600828 | 2011-10-13 11:59:44 -0300 | [diff] [blame] | 57 | <?php endif ?> |
Timothy Warren | 8bf0038 | 2011-10-18 06:28:41 -0400 | [diff] [blame] | 58 | |
admin | 2b47ea4 | 2006-10-24 00:15:02 +0000 | [diff] [blame] | 59 | </div> |