projects
/
php-utility-classes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a846400
)
don't detect IE as a bot
author
robert
<robert>
Mon, 15 Dec 2003 13:04:35 +0000
(13:04 +0000)
committer
robert
<robert>
Mon, 15 Dec 2003 13:04:35 +0000
(13:04 +0000)
include/classes/useragent.php-class
patch
|
blob
|
blame
|
history
diff --git
a/include/classes/useragent.php-class
b/include/classes/useragent.php-class
index b8d83d62ab75abc376b4067d43961d9e0270a94f..1185c502ddbf62c69f87f458248308f092e02cba 100755
(executable)
--- a/
include/classes/useragent.php-class
+++ b/
include/classes/useragent.php-class
@@
-241,7
+241,7
@@
class userAgent {
$this->version = "";
$this->bot = true;
}
- elseif (ereg("^Mozilla", $this->uastring)) {
+ elseif (ereg("^Mozilla
[\s ]*$
", $this->uastring)) {
$this->brand = "Unknown bot (Mozilla)";
$this->version = "";
$this->bot = true;