mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-21 08:56:27 +02:00
add unknown error
This commit is contained in:
parent
b560313aaf
commit
54a8029b69
4 changed files with 35 additions and 0 deletions
|
@ -25,4 +25,13 @@ namespace controllers\internals;
|
|||
http_response_code(404);
|
||||
$this->render('error/404');
|
||||
}
|
||||
|
||||
/**
|
||||
* Return unknown error page
|
||||
*/
|
||||
public function unknown ()
|
||||
{
|
||||
http_response_code(500);
|
||||
$this->render('error/unknown');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue