This repository has been archived on 2024-08-19. You can view files and clone it, but cannot push or open issues or pull requests.
Files
core/mod/login.php
2012-12-21 04:08:48 -08:00

8 lines
169 B
PHP

<?php
function login_content(&$a) {
if(local_user())
goaway(z_root());
return login(($a->config['system']['register_policy'] == REGISTER_CLOSED) ? false : true);
}