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