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