Compare commits

..

5 Commits

Author SHA1 Message Date
eafcf2315e
use IRouteCollection in app container
All checks were successful
mapguesser/pipeline/pr-develop This commit looks good
2023-04-20 00:39:10 +02:00
e52300b9e5
adapt Container usage to new soko-web 2023-04-20 00:39:10 +02:00
ee4a9f2ce3
remove unnecessary startTransaction and commit calls 2023-04-20 00:39:10 +02:00
8141845ae9
add error view 500 to app config 2023-04-20 00:39:10 +02:00
69f54c861a
add view for error 500 2023-04-20 00:39:10 +02:00

View File

@ -2,7 +2,7 @@
@section(main)
<h2>500 | Internal server error</h2>
<p>An error occured during processing your request. <a href="<?= Container::$routeCollection->getRoute('home')->generateLink() ?>" title="<?= $_ENV['APP_NAME'] ?>">Back to start.</a></p>
<p>An error occured during processing your request. <a href="<?= Container::$routeCollection->getRoute('index')->generateLink() ?>" title="<?= $_ENV['APP_NAME'] ?>">Back to start.</a></p>
<?php if (isset($exceptionToPrint)): ?>
<pre class="marginTop">
<?= $exceptionToPrint ?>