Friendica Communications Platform (please note that this is a clone of the repository at github, issues are handled there) https://friendi.ca
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
292 B

  1. <?php
  2. function toggle_mobile_init(App &$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. }