diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/home.php | 5 |
1 files changed, 5 insertions, 0 deletions
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 = '<html><head><title>' . t('$Projectname') . '</title></head><body style="margin: 0; padding: 0; broder: none;" ><iframe src="' . z_root() . '/' . $frontpage . '" width="100%" height="100%" style="margin: 0; padding: 0; border: none;" ></iframe></body></html>'; + echo $o; + killme(); + } goaway(z_root() . '/' . $frontpage); } |