distinguished Konqueror from the "other browsers" group

This commit is contained in:
Loïc Chapeaux
2001-09-06 07:23:00 +00:00
parent bff031d299
commit 36a39f4bca
2 changed files with 6 additions and 0 deletions

View File

@@ -108,6 +108,9 @@ if (!defined('USR_OS')) {
} else if (ereg('Mozilla/([0-9].[0-9]{1,2})', $HTTP_USER_AGENT, $log_version)) {
define('USR_BROWSER_VER', $log_version[1]);
define('USR_BROWSER_AGENT', 'MOZILLA');
} else if (ereg('Konqueror/([0-9].[0-9]{1,2})', $HTTP_USER_AGENT, $log_version)) {
define('USR_BROWSER_VER', $log_version[1]);
define('USR_BROWSER_AGENT', 'KONQUEROR');
} else {
define('USR_BROWSER_VER', 0);
define('USR_BROWSER_AGENT', 'OTHER');