protected function checkBrowserSafari()
{
if (stripos($this->_agent, 'Safari') !== false && stripos($this->_agent, 'iPhone') === false && stripos($this->_agent, 'iPod') === false) {
$aresult = explode('/', stristr($this->_agent, 'Version'));
if (isset($aresult[1])) {
$aversion = explode(' ', $aresult[1]);
$this->setVersion($aversion[0]);
} else {
$this->setVersion(self::VERSION_UNKNOWN);
}
$this->setBrowser(self::BROWSER_SAFARI, self::BROWSER_SAFARI_NAME);
return true;
}
return false;
}