Friendica Communications Platform (please note that this is a clone of the repository at github, issues are handled there) https://friendi.ca
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
288 B

  1. <?php
  2. function toggle_mobile_init(&$a) {
  3. if (isset($_GET['off'])) {
  4. $_SESSION['show-mobile'] = false;
  5. } else {
  6. $_SESSION['show-mobile'] = true;
  7. }
  8. if (isset($_GET['address'])) {
  9. $address = $_GET['address'];
  10. } else {
  11. $address = App::get_baseurl();
  12. }
  13. goaway($address);
  14. }