Compare commits

..

2 Commits

Author SHA1 Message Date
e9aff1da32
remove unnecessary startTransaction and commit calls
All checks were successful
rvr-nextgen/pipeline/pr-master This commit looks good
2023-04-18 23:21:53 +02:00
a346405ea6
add error view 500 to app config 2023-04-18 23:21:06 +02:00
2 changed files with 1 additions and 11 deletions

View File

@ -1,11 +0,0 @@
@extends(templates/layout_normal)
@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>
<?php if (isset($exceptionToPrint)): ?>
<pre class="marginTop">
<?= $exceptionToPrint ?>
</pre>
<?php endif; ?>
@endsection

View File

@ -114,6 +114,7 @@ $appConfig = [
$httpReponse = new HttpResponse( $httpReponse = new HttpResponse(
Container::$request, Container::$request,
Container::$dbConnection,
Container::$routeCollection, Container::$routeCollection,
$appConfig, $appConfig,
$_SERVER['REQUEST_METHOD'], $_SERVER['REQUEST_METHOD'],