robert 2 anos atrás
pai
commit
aba70f97a6
1 arquivos alterados com 1 adições e 3 exclusões
  1. 1 3
      mobile/index.php

+ 1 - 3
mobile/index.php

@@ -1,9 +1,7 @@
 
 <?php
   if (!isset($_GET['pos_id'])) {
-    print_r($_SERVER['HTTP_ORIGIN']);
-    $host = (str_contains($_SERVER['HTTP_ORIGIN'], 'vorsortierter-flohmarkt.de')) ? "https://app.vorsortierter-flohmarkt.de" : "";
-    header("Location: {$host}/mobile/config.html");
+    echo file_get_contents(dirname(__FILE__). "/config.html");
     exit();
   }
 ?>