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