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:
8b4f433
)
fix UA class bug that sent 'unkown' and deal with that bug in stats
author
robert
<robert>
Mon, 3 Apr 2006 14:07:22 +0000
(14:07 +0000)
committer
robert
<robert>
Mon, 3 Apr 2006 14:07:22 +0000
(14:07 +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 2f7569a7dacc9680991cf6fb10dc273ccbfd6ac2..12293d5f1139519fc7baacefd843e55d8a1b7c18 100755
(executable)
--- a/
include/classes/useragent.php-class
+++ b/
include/classes/useragent.php-class
@@
-68,7
+68,7
@@
class userAgent {
//
// function getEngine()
// returns a string telling the detected rendering engine, null if we can't detect
//
// function getEngine()
// returns a string telling the detected rendering engine, null if we can't detect
- // one of gecko|khtml|trident|tasman|nscp|presto|gzilla|gtkhtml|links|unkown
+ // one of gecko|khtml|trident|tasman|nscp|presto|gzilla|gtkhtml|links|unk
n
own
//
// function hasEngine($rnd_engine)
// returns true if the given rendering engine was detected
//
// function hasEngine($rnd_engine)
// returns true if the given rendering engine was detected
@@
-83,7
+83,7
@@
class userAgent {
//
// function getPlatform()
// returns a string telling the detected OS platform, null if we can't detect
//
// function getPlatform()
// returns a string telling the detected OS platform, null if we can't detect
- // one of windows|linux|mac|solaris|unkown
+ // one of windows|linux|mac|solaris|unk
n
own
//
// function getLanguage() {
// returns a string telling the detected browser UI language, null if we can't detect
//
// function getLanguage() {
// returns a string telling the detected browser UI language, null if we can't detect
@@
-465,9
+465,9
@@
class userAgent {
function getUAString() { return $this->uastring; }
function getEngine() {
function getUAString() { return $this->uastring; }
function getEngine() {
- // return gecko|khtml|trident|tasman|nscp|presto|gzilla|gtkhtml|links|unkown
+ // return gecko|khtml|trident|tasman|nscp|presto|gzilla|gtkhtml|links|unk
n
own
if (!isset($this->uadata['engine'])) {
if (!isset($this->uadata['engine'])) {
- $this->uadata['engine'] = 'unkown';
+ $this->uadata['engine'] = 'unk
n
own';
$this->uadata['geckodate'] = null;
if (preg_match('|Gecko/([0-9]+)|', $this->uastring, $regs)) {
$this->uadata['engine'] = 'gecko';
$this->uadata['geckodate'] = null;
if (preg_match('|Gecko/([0-9]+)|', $this->uastring, $regs)) {
$this->uadata['engine'] = 'gecko';