fix error

This commit is contained in:
Baptiste 2022-06-16 17:00:38 +02:00
parent 34b2dbbe03
commit d002bbae93

View file

@ -2,9 +2,9 @@
ob_start(); // Start reading html ob_start(); // Start reading html
?> ?>
<main> <main>
<img src="assets/img/error.JPG" style="margin-top: 50px;width:50vw;"> <img src="assets/img/error.jpg" style="margin-top: 50px;width:50vw;">
</main> </main>
<?php <?php
$infopage = ["", "Erreur 404", ob_get_clean(), "", "erreur"]; //relativepath, pagetitle, pagecontent, pagescript, pagename | cf structure/template.php ligne 2 à 6 $infopage = ["", "Erreur", ob_get_clean(), "", "erreur"]; //relativepath, pagetitle, pagecontent, pagescript, pagename | cf structure/template.php ligne 2 à 6
include("structure/template.php"); include("structure/template.php");
?> ?>