Ajout erreur404 & 403, modif regex mdp, lien user de preview fixed

This commit is contained in:
laura.chevillet 2026-02-17 15:56:56 +01:00
parent 46bc4952dc
commit a0738bb737
11 changed files with 52 additions and 10 deletions

View file

@ -13,7 +13,7 @@
$boolError = false;
$strFileName = "./controllers/".$strCtrl."_controller.php";
if(file_exists($strFileName)){
require($strFileName);
$strClassName = ucfirst($strCtrl)."Ctrl";
@ -32,6 +32,6 @@
}
if($boolError){
echo "error 404 - la page elle existe pas ";
header("Location:index.php?ctrl=error&action=error_404");
}