Ajout erreur404 & 403, modif regex mdp, lien user de preview fixed
This commit is contained in:
parent
46bc4952dc
commit
a0738bb737
11 changed files with 52 additions and 10 deletions
|
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue