Browse Source

add admin view

andre 4 years ago
parent
commit
adb726391c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      admin.php

+ 1 - 1
admin.php

@@ -14,7 +14,7 @@ require_once 'token.php';
 require_once 'stats.php';
 print_r($_POST);
 if(!isset($_POST['token'])){
-    echo "<form action='admin.php'><input type='text' id='token' name='token'><input type='submit' valeu='send token'></form></div></body></html>";
+    echo "<form action='admin.php' method='post'><input type='text' id='token' name='token'><input type='submit' valeu='send token'></form></div></body></html>";
     exit;
 }
 if(isset($_POST['ip'])) {