@@ 217-225 (lines=9) @@ | ||
214 | if (stripos(self::$userAgentString, 'msie') !== false && stripos(self::$userAgentString, 'opera') === false |
|
215 | ) { |
|
216 | // See if the browser is the odd MSN Explorer |
|
217 | if (stripos(self::$userAgentString, 'msnb') !== false) { |
|
218 | $aresult = explode(' ', stristr(str_replace(';', '; ', self::$userAgentString), 'MSN')); |
|
219 | self::$browser->setName(Browser::MSN); |
|
220 | if (isset($aresult[1])) { |
|
221 | self::$browser->setVersion(str_replace(array('(', ')', ';'), '', $aresult[1])); |
|
222 | } |
|
223 | ||
224 | return true; |
|
225 | } |
|
226 | $aresult = explode(' ', stristr(str_replace(';', '; ', self::$userAgentString), 'msie')); |
|
227 | self::$browser->setName(Browser::IE); |
|
228 | if (isset($aresult[1])) { |
|
@@ 520-529 (lines=10) @@ | ||
517 | */ |
|
518 | public static function checkBrowserNetPositive() |
|
519 | { |
|
520 | if (stripos(self::$userAgentString, 'NetPositive') !== false) { |
|
521 | $aresult = explode('/', stristr(self::$userAgentString, 'NetPositive')); |
|
522 | if (isset($aresult[1])) { |
|
523 | $aversion = explode(' ', $aresult[1]); |
|
524 | self::$browser->setVersion(str_replace(array('(', ')', ';'), '', $aversion[0])); |
|
525 | } |
|
526 | self::$browser->setName(Browser::NETPOSITIVE); |
|
527 | ||
528 | return true; |
|
529 | } |
|
530 | ||
531 | return false; |
|
532 | } |