2017-09-14 16:18:20 +03:00
|
|
|
<?php defined('BASEPATH') OR exit('No direct script access allowed') ?>
|
2016-04-24 19:14:32 +03:00
|
|
|
|
|
|
|
<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
|
|
|
|
|
2017-09-14 16:18:20 +03:00
|
|
|
<h4>An uncaught Exception was encountered</h4>
|
2016-04-24 19:14:32 +03:00
|
|
|
|
2017-09-14 16:18:20 +03:00
|
|
|
<p>Type: <?= get_class($exception) ?></p>
|
|
|
|
<p>Message: <?= $message ?></p>
|
|
|
|
<p>Filename: <?= $exception->getFile() ?></p>
|
|
|
|
<p>Line Number: <?= $exception->getLine() ?></p>
|
2016-04-24 19:14:32 +03:00
|
|
|
|
2017-09-14 16:18:20 +03:00
|
|
|
<?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === true): ?>
|
2016-04-24 19:14:32 +03:00
|
|
|
|
2017-09-14 16:18:20 +03:00
|
|
|
<p>Backtrace:</p>
|
2016-04-24 19:14:32 +03:00
|
|
|
|
2017-09-14 16:18:20 +03:00
|
|
|
<?php foreach ($exception->getTrace() as $error): ?>
|
2016-04-24 19:14:32 +03:00
|
|
|
|
2017-09-14 16:18:20 +03:00
|
|
|
<?php if (isset($error['file']) && strpos($error['file'], realpath(BASEPATH)) !== 0): ?>
|
2016-04-24 19:14:32 +03:00
|
|
|
|
2017-09-14 16:18:20 +03:00
|
|
|
<p style="margin-left:10px">
|
|
|
|
File: <?= $error['file'] ?><br>
|
|
|
|
Line: <?= $error['line'] ?><br>
|
|
|
|
Function: <?= $error['function'] ?>
|
|
|
|
</p>
|
|
|
|
<?php endif ?>
|
2016-04-24 19:14:32 +03:00
|
|
|
|
2017-09-14 16:18:20 +03:00
|
|
|
<?php endforeach ?>
|
2016-04-24 19:14:32 +03:00
|
|
|
|
2017-09-14 16:18:20 +03:00
|
|
|
<?php endif ?>
|
|
|
|
|
|
|
|
</div>
|