]> git.mxchange.org Git - friendica.git/blob - mod/login.php
FR update to the strings THX Perig
[friendica.git] / mod / login.php
1 <?php
2
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']);
8
9         if(local_user())
10                 goaway(z_root());
11         return login(($a->config['register_policy'] == REGISTER_CLOSED) ? false : true);
12
13 }