source: lliurex-jocomunico/trunk/fuentes/lliurex-jocomunico.install/var/lib/application/views/errors/html/error_php.php @ 5728

Last change on this file since 5728 was 5728, checked in by joamuran, 3 years ago

Added zero-installed and updated jocomunico

  • Property svn:executable set to *
File size: 835 bytes
Line 
1<?php
2defined('BASEPATH') OR exit('No direct script access allowed');
3?>
4
5<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
6
7<h4>A PHP Error was encountered</h4>
8
9<p>Severity: <?php echo $severity; ?></p>
10<p>Message:  <?php echo $message; ?></p>
11<p>Filename: <?php echo $filepath; ?></p>
12<p>Line Number: <?php echo $line; ?></p>
13
14<?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === TRUE): ?>
15
16        <p>Backtrace:</p>
17        <?php foreach (debug_backtrace() as $error): ?>
18
19                <?php if (isset($error['file']) && strpos($error['file'], realpath(BASEPATH)) !== 0): ?>
20
21                        <p style="margin-left:10px">
22                        File: <?php echo $error['file'] ?><br />
23                        Line: <?php echo $error['line'] ?><br />
24                        Function: <?php echo $error['function'] ?>
25                        </p>
26
27                <?php endif ?>
28
29        <?php endforeach ?>
30
31<?php endif ?>
32
33</div>
Note: See TracBrowser for help on using the repository browser.