robert 2 年之前
父节点
当前提交
aba70f97a6
共有 1 个文件被更改,包括 1 次插入3 次删除
  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();
   }
 ?>