Files
easyappointments/application/views/errors/cli/error_php.php
xavor 8c4798a5fd
Some checks failed
CI / build-test (push) Has been cancelled
first commit
2025-05-31 18:56:37 +02:00

20 lines
694 B
PHP

<?php defined('BASEPATH') or exit('No direct script access allowed'); ?>
A PHP Error was encountered
Severity: <?= $severity, "\n" ?>
Message: <?= $message, "\n" ?>
Filename: <?= $filepath, "\n" ?>
Line Number: <?= $line ?>
<?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE === true): ?>
Backtrace:
<?php foreach (debug_backtrace() as $error): ?>
<?php if (isset($error['file']) && strpos($error['file'], realpath(BASEPATH)) !== 0): ?>
File: <?= $error['file'], "\n" ?>
Line: <?= $error['line'], "\n" ?>
Function: <?= $error['function'], "\n\n" ?>
<?php endif; ?>
<?php endforeach; ?>
<?php endif; ?>