MAPG-89 adaptations in HtmlContent and index.php

This commit is contained in:
bence committed 2020-06-27 00:44:38 +02:00
1 parent c8a49396c2
commit bf8e5b5f4d
2 files changed
+13 -5

No files matched your search

+2 -1
View File
@@ -47,5 +47,6 @@ if ($match !== null) {
}
}
$content = new MapGuesser\Response\HtmlContent('error/404');
header('Content-Type: text/html; charset=UTF-8', true, 404);
require ROOT . '/views/error/404.php';
echo $content->render();