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

@@ -14,6 +14,9 @@ $Source$
Xos<6F> Calvo <xosecalvo at terra.es>.
* 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<4C>c Chapeaux <lolo@phpheaven.net>
* lib.inc.php3:

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');