aboutsummaryrefslogtreecommitdiffstats
path: root/mod/home.php
diff options
context:
space:
mode:
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 13b6d56c4..b8f16158e 100644
--- a/mod/home.php
+++ b/mod/home.php
@@ -20,6 +20,7 @@ function home_content(&$a) {
$o .= '<h1>Welcome' . ((x($a->config,'sitename')) ? " to {$a->config['sitename']}" : "" ) . '</h1>';
if(file_exists('home.html'))
$o .= file_get_contents('home.html');
+
$o .= login(($a->config['register_policy'] == REGISTER_CLOSED) ? 0 : 1);
return $o;