MAPG-86 add 404 error page

This commit is contained in:
Bence Pőcze 2020-05-31 20:45:35 +02:00
parent b2eabfb9b8
commit 28464fc4ac
2 changed files with 15 additions and 0 deletions

7
views/error/404.php Normal file
View File

@ -0,0 +1,7 @@
<?php require ROOT . '/views/templates/main_header.php'; ?>
<?php require ROOT . '/views/templates/header.php'; ?>
<div class="main">
<h2>404 | Page not found</h2>
<p>The requested URL was not found on this server. <a href="/" title="MapGuesser">Back to start.</a></p>
</div>
<?php require ROOT . '/views/templates/main_footer.php'; ?>

View File

@ -0,0 +1,8 @@
<div class="header">
<h1>
<a href="/" title="MapGuesser">
<?php require ROOT . '/views/templates/icon.php'; ?>
MapGuesser
</a>
</h1>
</div>