projects
/
php-utility-classes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
don't detect IE as a bot
[php-utility-classes.git]
/
include
/
classes
/
useragent.php-class
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;