Closed bobbingwide closed 8 years ago
I've removed the TODO from the comments in bw_trace_http_user_agent()
@TODO Don't use get_browser unless 1. It's requested, 2. It's enabled
* How can we tell which version it's using?
* {@link http://browscap.org/}
and the commented out code.
/*
$browscap = ini_get( "browscap" );
if ( false !== $browscap ) {
bw_trace2( $browscap, "browscap", false, BW_TRACE_VERBOSE );
$browser = get_browser( $http_user_agent, true );
bw_trace2( $browser, "browser", false, BW_TRACE_VERBOSE );
} else {
gob();
}
*/
In order to properly analyze the information in the daily trace summary report additional information could be recorded to make it easier. For example the HTTP_USER_AGENT, the REQUEST_METHOD and perhaps other information.
Note: It may be a good idea to pre-process the HTTP_USER_AGENT data.