]> git.mxchange.org Git - friendica.git/blob - mod/toggle_mobile.php
rev update
[friendica.git] / mod / toggle_mobile.php
1 <?php
2
3 function toggle_mobile_init(&$a) {
4
5         if(isset($_GET['off']))
6                 $_SESSION['show-mobile'] = false;
7         else
8                 $_SESSION['show-mobile'] = true;
9
10         if(isset($_GET['address']))
11                 $address = $_GET['address'];
12         else
13                 $address = $a->get_baseurl();
14
15         goaway($address);
16 }
17