Compare commits

..

5 Commits

Author SHA1 Message Date
624b2f8b31
use IRouteCollection in app container
All checks were successful
mapguesser/pipeline/pr-develop This commit looks good
2023-04-20 00:30:01 +02:00
5d10d13730
adapt Container usage to new soko-web 2023-04-20 00:30:01 +02:00
bb29bf1fb8
remove unnecessary startTransaction and commit calls 2023-04-20 00:30:01 +02:00
540155b7eb
add error view 500 to app config 2023-04-20 00:30:01 +02:00
6f7455cfa9
add view for error 500 2023-04-20 00:30:01 +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('index')->generateLink() ?>" title="<?= $_ENV['APP_NAME'] ?>">Back to start.</a></p>
<p>An error occured during processing your request. <a href="<?= Container::$routeCollection->getRoute('home')->generateLink() ?>" title="<?= $_ENV['APP_NAME'] ?>">Back to start.</a></p>
<?php if (isset($exceptionToPrint)): ?>
<pre class="marginTop">
<?= $exceptionToPrint ?>