|
@@ 298-306 (lines=9) @@
|
| 295 |
|
if (stripos(self::$userAgentString, 'msie') !== false && stripos(self::$userAgentString, 'opera') === false |
| 296 |
|
) { |
| 297 |
|
// See if the browser is the odd MSN Explorer |
| 298 |
|
if (stripos(self::$userAgentString, 'msnb') !== false) { |
| 299 |
|
$aresult = explode(' ', stristr(str_replace(';', '; ', self::$userAgentString), 'MSN')); |
| 300 |
|
self::$browser->setName(Browser::MSN); |
| 301 |
|
if (isset($aresult[1])) { |
| 302 |
|
self::$browser->setVersion(str_replace(array('(', ')', ';'), '', $aresult[1])); |
| 303 |
|
} |
| 304 |
|
|
| 305 |
|
return true; |
| 306 |
|
} |
| 307 |
|
$aresult = explode(' ', stristr(str_replace(';', '; ', self::$userAgentString), 'msie')); |
| 308 |
|
self::$browser->setName(Browser::IE); |
| 309 |
|
if (isset($aresult[1])) { |
|
@@ 608-617 (lines=10) @@
|
| 605 |
|
*/ |
| 606 |
|
public static function checkBrowserNetPositive() |
| 607 |
|
{ |
| 608 |
|
if (stripos(self::$userAgentString, 'NetPositive') !== false) { |
| 609 |
|
$aresult = explode('/', stristr(self::$userAgentString, 'NetPositive')); |
| 610 |
|
if (isset($aresult[1])) { |
| 611 |
|
$aversion = explode(' ', $aresult[1]); |
| 612 |
|
self::$browser->setVersion(str_replace(array('(', ')', ';'), '', $aversion[0])); |
| 613 |
|
} |
| 614 |
|
self::$browser->setName(Browser::NETPOSITIVE); |
| 615 |
|
|
| 616 |
|
return true; |
| 617 |
|
} |
| 618 |
|
|
| 619 |
|
return false; |
| 620 |
|
} |