This commit is contained in:
flash 2018-03-26 00:00:42 +02:00
parent c5dab1082d
commit 4fc826d4a1

View file

@ -87,6 +87,7 @@ if ($settings_mode === null) {
$app->templating->vars(compact('settings_mode', 'settings_modes', 'settings_user')); $app->templating->vars(compact('settings_mode', 'settings_modes', 'settings_user'));
if (!array_key_exists($settings_mode, $settings_modes)) { if (!array_key_exists($settings_mode, $settings_modes)) {
http_response_code(404);
$app->templating->var('settings_title', 'Not Found'); $app->templating->var('settings_title', 'Not Found');
echo $app->templating->render("settings.notfound"); echo $app->templating->render("settings.notfound");
return; return;