Add error404 page with a return to home

pull/10/head
Vivien DUFOUR 2 years ago
parent d34907aeac
commit d188985824

@ -5,14 +5,19 @@
<body> <body>
<h1>IQBall</h1>
<?php <?php
if (isset($error)) { if (isset($error)) {
if($error == "error404"){ if($error == "error404"){
echo "<h1>Error 404</h1>"; echo "<h1>Erreur 404</h1>";
echo "<p>Page not found</p>"; echo "<h3>Cette page n'existe pas</h3>";
} }
} }
?> ?>
<button onclick="location.href='/'" type="button">Retour à la page d'accueil</button>
</body> </body>
</html> </html>
Loading…
Cancel
Save