MAPG-89 adaptations in HtmlContent and index.php
This commit is contained in:
2 files changed
+13
-5
No files matched your search
+2
-1
@@ -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();
|
||||
Reference in new issue
Block a user