This commit is contained in:
gnieark 2015-11-27 22:27:02 +01:00
parent 1f457dd4c4
commit 7424f57bc3

View File

@ -81,7 +81,7 @@ function get_language_array(){
return $lang;
}
function error($code,$message){
switch($error){
switch($code){
case 404:
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>';