1 2 3 4 5 6 7 8
<?php function login_content(&$a) { // return login($a->config['register_enabled']); return login(($a->config['register_policy'] == REGISTER_CLOSED) ? 0 : 1); }