more frontpage tweaks
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user