MAPG-86 add 404 error page
This commit is contained in:
parent
b2eabfb9b8
commit
28464fc4ac
7
views/error/404.php
Normal file
7
views/error/404.php
Normal 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'; ?>
|
8
views/templates/header.php
Normal file
8
views/templates/header.php
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<div class="header">
|
||||||
|
<h1>
|
||||||
|
<a href="/" title="MapGuesser">
|
||||||
|
<?php require ROOT . '/views/templates/icon.php'; ?>
|
||||||
|
MapGuesser
|
||||||
|
</a>
|
||||||
|
</h1>
|
||||||
|
</div>
|
Loading…
Reference in New Issue
Block a user