From 36a39f4bca36c23561f7fa5ece28a2ec22532c97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Thu, 6 Sep 2001 07:23:00 +0000 Subject: [PATCH] distinguished Konqueror from the "other browsers" group --- ChangeLog | 3 +++ defines.inc.php3 | 3 +++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index c4fb85e9c5..19107207a6 100755 --- a/ChangeLog +++ b/ChangeLog @@ -14,6 +14,9 @@ $Source$ Xosé Calvo . * lib.inc.php3: fixed a bug with the browse table headers sorting feature. * tbl_dump.php3: improved the patch Marc commited. + * defines.inc.php3: distinguished Konqueror from the "other browsers" + group (to prepare a fix for bug #439081 -Konqueror 2.1.2 browser + support-). 2001-09-05 Loïc Chapeaux * lib.inc.php3: diff --git a/defines.inc.php3 b/defines.inc.php3 index 1e93aaffa1..284dadf6d9 100755 --- a/defines.inc.php3 +++ b/defines.inc.php3 @@ -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');