Friendica Communications Platform (please note that this is a clone of the repository at github, issues are handled there) https://friendi.ca
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

17 rindas
309B

  1. <?php
  2. function login_content(App $a) {
  3. if (x($_SESSION, 'theme')) {
  4. unset($_SESSION['theme']);
  5. }
  6. if (x($_SESSION, 'mobile-theme')) {
  7. unset($_SESSION['mobile-theme']);
  8. }
  9. if (local_user()) {
  10. goaway(z_root());
  11. }
  12. return login(($a->config['register_policy'] == REGISTER_CLOSED) ? false : true);
  13. }