Browse Source

add protection

andre 4 years ago
parent
commit
773848d37f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      list.php

+ 2 - 2
list.php

@@ -10,10 +10,10 @@ $token = substr(trim($_GET['token']),0,32);
 
 
 $act= new action;
 $act= new action;
 
 
-if($act->isBlocked($clientIP)) {
+/*if($act->isBlocked($clientIP)) {
     http_response_code(403);
     http_response_code(403);
     exit;
     exit;
-}
+}*/
 
 
 if (!(new token)->isConsumer($token)) {
 if (!(new token)->isConsumer($token)) {
     $act->block($clientIP);
     $act->block($clientIP);