瀏覽代碼

add protection

andre 4 年之前
父節點
當前提交
722f9d4908
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      admin.php

+ 1 - 1
admin.php

@@ -41,7 +41,7 @@ $tok = new token;
 $act = new action;
 $act = new action;
 
 
 if($tok->isListed($_SERVER['REMOTE_ADDR'])) {
 if($tok->isListed($_SERVER['REMOTE_ADDR'])) {
-    http_response_code(403);
+    http_response_code(404);
     exit;
     exit;
 }
 }
 print_r($_SERVER['REMOTE_ADDR']);
 print_r($_SERVER['REMOTE_ADDR']);