rss-bridge/templates/error.html.php
Dag 2bbce8ebef
refactor: general code base refactor (#2950)
* refactor

* fix: bug in previous refactor

* chore: exclude phpcompat sniff due to bug in phpcompat

* fix: do not leak absolute paths

* refactor/fix: batch extensions checking, fix DOS issue
2022-08-06 22:46:28 +02:00

25 lines
445 B
PHP

<div style="width: 60%; margin: 30px auto">
<h1>
<?= e($title ?? 'Something went wrong') ?>
</h1>
<br>
<?= e($message) ?>
<br>
<br>
<?php if (isset($stacktrace)): ?>
<h2>Stacktrace</h2>
<br>
<?php foreach ($stacktrace as $frame) : ?>
<code>
<?= e($frame) ?>
</code>
<br>
<?php endforeach; ?>
<?php endif; ?>
</div>