From 54b61f817d8911dec26e3aa2aee32fad25f67571 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Mon, 8 Jun 2015 21:19:05 -0700 Subject: provide a mechanism for loading the frontpage without redirecting. --- mod/home.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mod') diff --git a/mod/home.php b/mod/home.php index 39b42b630..42f448aae 100644 --- a/mod/home.php +++ b/mod/home.php @@ -60,6 +60,11 @@ function home_content(&$a, $update = 0, $load = false) { return $o; } } + if(intval(get_config('system','mirror_frontpage'))) { + $o = '' . t('$Projectname') . ''; + echo $o; + killme(); + } goaway(z_root() . '/' . $frontpage); } -- cgit v1.2.3