Procházet zdrojové kódy

Umleitung auf config

robert před 2 roky
rodič
revize
24c573a26d
2 změnil soubory, kde provedl 9 přidání a 0 odebrání
  1. 3 0
      mobile/config.html
  2. 6 0
      mobile/index.php

+ 3 - 0
mobile/config.html

@@ -0,0 +1,3 @@
+<h1>Konfiguration</h1>
+
+<a href="/mobile/?seller_id=1&cashier=Robert">hier klicken!</a>

+ 6 - 0
mobile/index.html → mobile/index.php

@@ -1,4 +1,10 @@
 
+<?php
+  if (!isset($_GET['seller_id'])) {
+    header("Location: /mobile/config.html");
+    exit();
+  }
+?>
 <!doctype html>
 <html>
   <head>