mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-01-01 14:07:54 -05:00
* Improve code style and PSR-12 compliance - refactored code formatting to adhere to PSR-12 guidelines - standardized coding conventions across the codebase - added missing framework files and reverted markup changes - reformatted arrays for enhanced readability - updated language files for consistent styling and clarity - minor miscellaneous improvements
27 lines
733 B
PHP
27 lines
733 B
PHP
<?php
|
|
/**
|
|
* @var string $severity
|
|
* @var string $message
|
|
* @var string $filepath
|
|
* @var int $line
|
|
*/
|
|
?>
|
|
|
|
A PHP Error was encountered
|
|
|
|
Severity: <?= esc($severity), "\n" ?>
|
|
Message: <?= esc($message), "\n" ?>
|
|
Filename: <?= esc($filepath), "\n" ?>
|
|
Line Number: <?= $line ?>
|
|
|
|
<?php if (defined('SHOW_DEBUG_BACKTRACE') && SHOW_DEBUG_BACKTRACE): ?>
|
|
Backtrace:
|
|
<?php foreach (debug_backtrace() as $error): ?>
|
|
<?php if (isset($error['file']) && strpos($error['file'], realpath(ROOTPATH)) !== 0): ?>
|
|
File: <?= esc($error['file']), "\n" ?>
|
|
Line: <?= $error['line'], "\n" ?>
|
|
Function: <?= esc($error['function']), "\n\n" ?>
|
|
<?php endif ?>
|
|
<?php endforeach ?>
|
|
<?php endif ?>
|