Update networktool.php
This commit is contained in:
parent
161029471a
commit
85ddf36fa8
|
@ -131,6 +131,6 @@ if(!is_fn("detect_perf_agent")) {
|
|||
function detect_perf_agent() {
|
||||
$evt = get_network_event();
|
||||
$agent = $ent['agent'];
|
||||
return preg_match('(PingdomPageSpeed|GTmetrix)', $data) === 1);
|
||||
return preg_match('(PingdomPageSpeed|GTmetrix)', $agent) === 1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user