404
This commit is contained in:
parent
c5dab1082d
commit
4fc826d4a1
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue