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