namespace de fait hehe
This commit is contained in:
parent
6c21a5f1cb
commit
0638834933
23 changed files with 131 additions and 81 deletions
24
controllers/ErrorCtrl.php
Normal file
24
controllers/ErrorCtrl.php
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
<?php
|
||||
namespace Controllers;
|
||||
|
||||
/**
|
||||
* Le contrôleur des erreurs
|
||||
* @author Laura
|
||||
*/
|
||||
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