backup du projet
This commit is contained in:
commit
4655c05be6
670 changed files with 87655 additions and 0 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