diff options
author | Stefanie Eckner <stefanie@eckner.net> | 2023-12-30 15:52:17 +0100 |
---|---|---|
committer | Stefanie Eckner <stefanie@eckner.net> | 2023-12-30 15:52:17 +0100 |
commit | 7bf5a06115d61e20c646a6f06523f154644eef69 (patch) | |
tree | 0c5e5e371af37bafe9d15cda0627d8319b57f7ce | |
parent | e35c1f6a2120775e23daf31256ce070cee2d462e (diff) | |
download | computer-time-limit-7bf5a06115d61e20c646a6f06523f154644eef69.tar.xz |
server nun wirklich auf signify umgebaut
-rw-r--r-- | computer-time-limit.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/computer-time-limit.php b/computer-time-limit.php index ed4dc3a..2237c16 100644 --- a/computer-time-limit.php +++ b/computer-time-limit.php @@ -47,7 +47,7 @@ if (array_key_exists('msg', $_POST) && array_key_exists('sig', $_POST)) { } print($noch . "\n"); - switch (trim($cnt)) { + switch ($_POST['msg']) { case 'start': $aktiv = 1; break; @@ -57,6 +57,7 @@ if (array_key_exists('msg', $_POST) && array_key_exists('sig', $_POST)) { break; ;; default: + print($_POST['msg'] . ' unknown'); die(); ;; } |