|
@@ 206-214 (lines=9) @@
|
| 203 |
|
if (stripos(self::$userAgentString, 'msie') !== false && stripos(self::$userAgentString, 'opera') === false |
| 204 |
|
) { |
| 205 |
|
// See if the browser is the odd MSN Explorer |
| 206 |
|
if (stripos(self::$userAgentString, 'msnb') !== false) { |
| 207 |
|
$aresult = explode(' ', stristr(str_replace(';', '; ', self::$userAgentString), 'MSN')); |
| 208 |
|
self::$browser->setName(Browser::MSN); |
| 209 |
|
if (isset($aresult[1])) { |
| 210 |
|
self::$browser->setVersion(str_replace(array('(', ')', ';'), '', $aresult[1])); |
| 211 |
|
} |
| 212 |
|
|
| 213 |
|
return true; |
| 214 |
|
} |
| 215 |
|
$aresult = explode(' ', stristr(str_replace(';', '; ', self::$userAgentString), 'msie')); |
| 216 |
|
self::$browser->setName(Browser::IE); |
| 217 |
|
if (isset($aresult[1])) { |
|
@@ 488-497 (lines=10) @@
|
| 485 |
|
*/ |
| 486 |
|
public static function checkBrowserNetPositive() |
| 487 |
|
{ |
| 488 |
|
if (stripos(self::$userAgentString, 'NetPositive') !== false) { |
| 489 |
|
$aresult = explode('/', stristr(self::$userAgentString, 'NetPositive')); |
| 490 |
|
if (isset($aresult[1])) { |
| 491 |
|
$aversion = explode(' ', $aresult[1]); |
| 492 |
|
self::$browser->setVersion(str_replace(array('(', ')', ';'), '', $aversion[0])); |
| 493 |
|
} |
| 494 |
|
self::$browser->setName(Browser::NETPOSITIVE); |
| 495 |
|
|
| 496 |
|
return true; |
| 497 |
|
} |
| 498 |
|
|
| 499 |
|
return false; |
| 500 |
|
} |