set App::$error on 404 so we don't get two 'Page not found.' page bodies.

This commit is contained in:
redmatrix 2016-07-26 17:24:17 -07:00
parent 02f88fc7b2
commit db176eec40

View File

@ -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;
}
}
}