Skip to content

Commit 8d869c0

Browse files
authored
Update index.php
1 parent fe950e3 commit 8d869c0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

public/index.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,14 +188,16 @@ function cleanArray($didYouMeans){
188188

189189

190190

191-
191+
/*
192192
193193
$FloodProtection = new \frdl\security\floodprotection\FloodProtection($_SERVER['REQUEST_URI'], 60, 60);
194194
if($_SERVER['REMOTE_ADDR'] !== $_SERVER['SERVER_ADDR'] && $FloodProtection->check($_SERVER['REMOTE_ADDR'])){
195195
header("HTTP/1.1 429 Too Many Requests");
196196
197197
$content='Too Many Requests, please try again later!';
198198
}
199+
*/
200+
199201

200202

201203
$classMaps = require $cacheFile;

0 commit comments

Comments
 (0)