X-Git-Url: https://git-public.kairo.at/?p=php-utility-classes.git;a=blobdiff_plain;f=include%2Fclasses%2Fuseragent.php-class;h=12293d5f1139519fc7baacefd843e55d8a1b7c18;hp=2f7569a7dacc9680991cf6fb10dc273ccbfd6ac2;hb=ac9220c2a043fc5553ac17a7ff4a1a97734425cc;hpb=8b4f433562e3100b9bdfdb1c1e837516bd190baa diff --git a/include/classes/useragent.php-class b/include/classes/useragent.php-class index 2f7569a..12293d5 100755 --- 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 - // one of gecko|khtml|trident|tasman|nscp|presto|gzilla|gtkhtml|links|unkown + // one of gecko|khtml|trident|tasman|nscp|presto|gzilla|gtkhtml|links|unknown // // 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 - // one of windows|linux|mac|solaris|unkown + // one of windows|linux|mac|solaris|unknown // // 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() { - // return gecko|khtml|trident|tasman|nscp|presto|gzilla|gtkhtml|links|unkown + // return gecko|khtml|trident|tasman|nscp|presto|gzilla|gtkhtml|links|unknown if (!isset($this->uadata['engine'])) { - $this->uadata['engine'] = 'unkown'; + $this->uadata['engine'] = 'unknown'; $this->uadata['geckodate'] = null; if (preg_match('|Gecko/([0-9]+)|', $this->uastring, $regs)) { $this->uadata['engine'] = 'gecko';