andre 4 år sedan
förälder
incheckning
c407297e58
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      index.php

+ 2 - 2
index.php

@@ -26,10 +26,10 @@ function set($ip,$db) {
     return $dbAction->execute();
 }
 
-//if (checkToken($token,$db)){
+if (checkToken($token,$db)){
     if(set(ip2long($ip),$db)){
         echo "$token inserted $ip" . PHP_EOL;
     } else {
         echo "fehler" . PHP_EOL;
     };
-//};
+};