set App::$error on 404 so we don't get two 'Page not found.' page bodies.
This commit is contained in:
parent
02f88fc7b2
commit
db176eec40
@ -152,6 +152,7 @@ class Router {
|
||||
// pretend this is a module so it will initialise the theme
|
||||
\App::$module = '404';
|
||||
\App::$module_loaded = true;
|
||||
\App::$error = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user