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
24
controllers/error_controller.php
Normal file
24
controllers/error_controller.php
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
<?php
|
||||
require("mother_controller.php");
|
||||
|
||||
/**
|
||||
* Le contrôleur des erreurs
|
||||
* @author Laura (largement inspiré de Christel)
|
||||
*/
|
||||
class ErrorCtrl extends MotherCtrl{
|
||||
|
||||
/**
|
||||
* Page erreur 404
|
||||
*/
|
||||
public function error_404(){
|
||||
$this->_display("error_404");
|
||||
}
|
||||
|
||||
/**
|
||||
* Page erreur 403
|
||||
*/
|
||||
public function error_403(){
|
||||
$this->_display("error_403");
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue