<?php
-
-
function login_content(&$a) {
-// return login($a->config['register_enabled']);
- return login(($a->config['register_policy'] == REGISTER_CLOSED) ? 0 : 1);
+ if(x($_SESSION,'theme'))
+ unset($_SESSION['theme']);
+ return login(($a->config['register_policy'] == REGISTER_CLOSED) ? false : true);
+
}
\ No newline at end of file