404
This commit is contained in:
parent
b516319a1d
commit
24b3fe490b
|
@ -106,7 +106,15 @@ function error($code,$message){
|
||||||
switch($code){
|
switch($code){
|
||||||
case 404:
|
case 404:
|
||||||
header("HTTP/1.0 404 Not Found");
|
header("HTTP/1.0 404 Not Found");
|
||||||
echo '<!DOCTYPE html><html lang="fr"><head><meta charset="UTF-8" /><title>Page Not found</title></head><body><p>'.$message.'</p></body></html>';
|
echo '<!DOCTYPE html><html lang="fr"><head><meta charset="UTF-8" /><title>Page Not found</title></head><body><p>'.$message.'</p>
|
||||||
|
<pre>
|
||||||
|
_ _ ___ _ _
|
||||||
|
| || | / _ \| || |
|
||||||
|
| || |_| | | | || |_
|
||||||
|
|__ _| | | |__ _|
|
||||||
|
| | | |_| | | |
|
||||||
|
|_| \___/ |_|
|
||||||
|
</pre><p><a href="/">Go to home page</a></p></body></html>';
|
||||||
die;
|
die;
|
||||||
case 400:
|
case 400:
|
||||||
header ("HTTP/1.0 400 Bad Request");
|
header ("HTTP/1.0 400 Bad Request");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user