Compare commits
2 Commits
4c401cd807
...
e9aff1da32
Author | SHA1 | Date | |
---|---|---|---|
e9aff1da32 | |||
a346405ea6 |
@ -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
|
|
1
web.php
1
web.php
@ -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'],
|
||||||
|
Loading…
Reference in New Issue
Block a user