bifurqué depuis rebillar/site-accueil-insa
patch error
Cette révision appartient à :
Parent
77fb0ca753
révision
4d6add6799
3 fichiers modifiés avec 14 ajouts et 8 suppressions
10
error.php
Fichier normal
10
error.php
Fichier normal
|
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
ob_start(); // Start reading html
|
||||
?>
|
||||
<main>
|
||||
<img src="assets/img/error.JPG" style="margin-top: 50px;width:50vw;">
|
||||
</main>
|
||||
<?php
|
||||
$infopage = ["", "Erreur 404", ob_get_clean(), "", "erreur"]; //relativepath, pagetitle, pagecontent, pagescript, pagename | cf structure/template.php ligne 2 à 6
|
||||
include("structure/template.php");
|
||||
?>
|
||||
3
errors/401.php
Fichier normal
3
errors/401.php
Fichier normal
|
|
@ -0,0 +1,3 @@
|
|||
<?php
|
||||
header('Location: ../error.php');
|
||||
?>
|
||||
|
|
@ -1,10 +1,3 @@
|
|||
<?php
|
||||
ob_start(); // Start reading html
|
||||
?>
|
||||
<main>
|
||||
<img src="assets/img/error.JPG" style="margin-top: 50px;width:50vw;">
|
||||
</main>
|
||||
<?php
|
||||
$infopage = ["", "Erreur 404", ob_get_clean(), "", "erreur"]; //relativepath, pagetitle, pagecontent, pagescript, pagename | cf structure/template.php ligne 2 à 6
|
||||
include("structure/template.php");
|
||||
header('Location: ../error.php');
|
||||
?>
|
||||
Chargement…
Référencer dans un nouveau ticket