Add detection for Konqueror

This commit is contained in:
Miles Lott 2001-05-31 05:06:16 +00:00
parent b4b16f76be
commit 720dd30f11

View File

@ -62,6 +62,13 @@
$this->BROWSER_AGENT = 'Netscape'; $this->BROWSER_AGENT = 'Netscape';
} }
elseif (ereg( 'Konqueror/([0-9].[0-9].[0-9]{1,2})',$HTTP_USER_AGENT,$log_version) ||
ereg( 'Konqueror/([0-9].[0-9]{1,2})',$HTTP_USER_AGENT,$log_version))
{
$this->BROWSER_VER=$log_version[1];
$this->BROWSER_AGENT='Konqueror';
}
elseif (ereg( 'Mozilla/([0-9].[0-9]{1,2})',$HTTP_USER_AGENT,$log_version)) elseif (ereg( 'Mozilla/([0-9].[0-9]{1,2})',$HTTP_USER_AGENT,$log_version))
{ {
$this->BROWSER_VER=$log_version[1]; $this->BROWSER_VER=$log_version[1];