Ignore HetrixTools monitoring

This commit is contained in:
iwonder 2021-08-01 20:15:52 +02:00
parent 483cf992f7
commit 130b0f51a2

View File

@ -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){