aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-07-26 17:24:17 -0700
committerredmatrix <git@macgirvin.com>2016-07-26 17:24:17 -0700
commitdb176eec409b73c290ee4d7580867e97dead41fb (patch)
treeec80695f4b58fe5c1861d2ed95321e9230250884 /Zotlabs
parent02f88fc7b262506cef3cdf219d1b8351ca3ca01d (diff)
downloadvolse-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')
-rw-r--r--Zotlabs/Web/Router.php1
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;
}
}
}