aboutsummaryrefslogtreecommitdiffstats
path: root/mod/home.php
diff options
context:
space:
mode:
authorTobias Diekershoff <tobias.diekershoff@gmx.net>2013-12-06 12:00:43 +0100
committerTobias Diekershoff <tobias.diekershoff@gmx.net>2013-12-06 12:00:43 +0100
commit6c6c8a245150a49dbd6191d15452366c3522f56e (patch)
tree8317eb19c92bd674a3dccdde53a4ac813081d3e9 /mod/home.php
parentfc96714896c0da1acf6a85b15cf2e03fa3a4aa51 (diff)
downloadvolse-hubzilla-6c6c8a245150a49dbd6191d15452366c3522f56e.tar.gz
volse-hubzilla-6c6c8a245150a49dbd6191d15452366c3522f56e.tar.bz2
volse-hubzilla-6c6c8a245150a49dbd6191d15452366c3522f56e.zip
add option to hide login form from homepage
Diffstat (limited to 'mod/home.php')
-rw-r--r--mod/home.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/home.php b/mod/home.php
index d17d477c8..edcaa938d 100644
--- a/mod/home.php
+++ b/mod/home.php
@@ -78,6 +78,7 @@ require_once('include/conversation.php');
$o .= file_get_contents('home.html');
}
+ if (!$a->config['system']['no_login_on_homepage'])
$o .= login(($a->config['system']['register_policy'] == REGISTER_CLOSED) ? 0 : 1);
call_hooks("home_content",$o);