Add error404 page with a return to home

pull/10/head
Vivien DUFOUR 2 years ago
parent c1a8c76881
commit eecf0689a6

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