diff options
author | redmatrix <git@macgirvin.com> | 2016-07-26 17:24:17 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-07-26 17:24:17 -0700 |
commit | db176eec409b73c290ee4d7580867e97dead41fb (patch) | |
tree | ec80695f4b58fe5c1861d2ed95321e9230250884 /Zotlabs/Web | |
parent | 02f88fc7b262506cef3cdf219d1b8351ca3ca01d (diff) | |
download | volse-hubzilla-db176eec409b73c290ee4d7580867e97dead41fb.tar.gz volse-hubzilla-db176eec409b73c290ee4d7580867e97dead41fb.tar.bz2 volse-hubzilla-db176eec409b73c290ee4d7580867e97dead41fb.zip |
set App::$error on 404 so we don't get two 'Page not found.' page bodies.
Diffstat (limited to 'Zotlabs/Web')
-rw-r--r-- | Zotlabs/Web/Router.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Zotlabs/Web/Router.php b/Zotlabs/Web/Router.php index f9290ac30..4ba2a450d 100644 --- a/Zotlabs/Web/Router.php +++ b/Zotlabs/Web/Router.php @@ -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; } } } |