more frontpage tweaks

This commit is contained in:
redmatrix
2015-06-07 18:59:14 -07:00
parent 60cfea5d1f
commit 3c5a5a9ebf
3 changed files with 4 additions and 4 deletions

View File

@@ -69,7 +69,7 @@ function home_content(&$a, $update = 0, $load = false) {
if(intval(get_config('system','block_public')) && (! local_channel()) && (! remote_channel())) {
// If there's nothing special happening, just spit out a login box
$loginbox = get_config('system',login_on_homepage');
$loginbox = get_config('system','login_on_homepage');
if(intval($loginbox) || $loginbox === false)
$o .= login(($a->config['system']['register_policy'] == REGISTER_CLOSED) ? 0 : 1);
}