Ver código fonte

add protection

andre 4 anos atrás
pai
commit
1a9442bb1d
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      admin.php

+ 1 - 1
admin.php

@@ -39,7 +39,7 @@ $stats = true;
 
 $tok = new token;
 $act = new action;
-print_r($_SERVER);
+print_r($_SERVER['REMOTE_ADDR']);
 if (!$tok->isAdmin($token)) {
     echo "admin access denied</div></body></html>";
     exit;