friendica/mod/login.php
2010-07-08 17:59:19 -07:00

8 lines
171 B
PHP

<?php
function login_content(&$a) {
// return login($a->config['register_enabled']);
return login(($a->config['register_policy'] == REGISTER_CLOSED) ? false : true);
}