@@ 181-189 (lines=9) @@ | ||
178 | if (stripos(self::$userAgentString, 'msie') !== false && stripos(self::$userAgentString, 'opera') === false |
|
179 | ) { |
|
180 | // See if the browser is the odd MSN Explorer |
|
181 | if (stripos(self::$userAgentString, 'msnb') !== false) { |
|
182 | $aresult = explode(' ', stristr(str_replace(';', '; ', self::$userAgentString), 'MSN')); |
|
183 | self::$browser->setName(Browser::MSN); |
|
184 | if (isset($aresult[1])) { |
|
185 | self::$browser->setVersion(str_replace(array('(', ')', ';'), '', $aresult[1])); |
|
186 | } |
|
187 | ||
188 | return true; |
|
189 | } |
|
190 | $aresult = explode(' ', stristr(str_replace(';', '; ', self::$userAgentString), 'msie')); |
|
191 | self::$browser->setName(Browser::IE); |
|
192 | if (isset($aresult[1])) { |
|
@@ 432-441 (lines=10) @@ | ||
429 | */ |
|
430 | public static function checkBrowserNetPositive() |
|
431 | { |
|
432 | if (stripos(self::$userAgentString, 'NetPositive') !== false) { |
|
433 | $aresult = explode('/', stristr(self::$userAgentString, 'NetPositive')); |
|
434 | if (isset($aresult[1])) { |
|
435 | $aversion = explode(' ', $aresult[1]); |
|
436 | self::$browser->setVersion(str_replace(array('(', ')', ';'), '', $aversion[0])); |
|
437 | } |
|
438 | self::$browser->setName(Browser::NETPOSITIVE); |
|
439 | ||
440 | return true; |
|
441 | } |
|
442 | ||
443 | return false; |
|
444 | } |