This commit is contained in:
Mael G. 2020-02-04 17:32:26 +01:00
parent 0c75051a3d
commit a390ce4e3c
2 changed files with 3 additions and 0 deletions

View file

@ -75,8 +75,10 @@ switch ($request) {
$smarty->display('./../tpl/services.tpl'); $smarty->display('./../tpl/services.tpl');
break; break;
default: default:
http_response_code(404);
$smarty->assign('actualpage', "404"); $smarty->assign('actualpage', "404");
$smarty->assign('pagetitle', $lang_json["notfound"]); $smarty->assign('pagetitle', $lang_json["notfound"]);
$smarty->display('./../tpl/404.tpl'); $smarty->display('./../tpl/404.tpl');
die();
break; break;
} }

1
public/srv.html Normal file
View file

@ -0,0 +1 @@
fr-srv01