2 if(! function_exists('login_content')) {
3 function login_content(&$a) {
4 if(x($_SESSION,'theme'))
5 unset($_SESSION['theme']);
6 if(x($_SESSION,'mobile-theme'))
7 unset($_SESSION['mobile-theme']);
11 return login(($a->config['register_policy'] == REGISTER_CLOSED) ? false : true);