Ignore HetrixTools monitoring
This commit is contained in:
parent
483cf992f7
commit
130b0f51a2
@ -192,6 +192,7 @@ $invalid_uas = array(
|
|||||||
"SemrushBot",
|
"SemrushBot",
|
||||||
"BingPreview",
|
"BingPreview",
|
||||||
"facebookexternalhit",
|
"facebookexternalhit",
|
||||||
|
"hetrix.tools",
|
||||||
);
|
);
|
||||||
foreach ($invalid_uas as $ua){
|
foreach ($invalid_uas as $ua){
|
||||||
if(stripos($_SERVER['HTTP_USER_AGENT'], $ua) !== FALSE){
|
if(stripos($_SERVER['HTTP_USER_AGENT'], $ua) !== FALSE){
|
||||||
|
Loading…
Reference in New Issue
Block a user