/** * * @return boolean */ public static function isMsieLT10() { $browser = JchOptimizeBrowser::getInstance(); if ($browser->getBrowser() == 'IE' && $browser->getVersion() < 10) { return TRUE; } else { return FALSE; } }
/** * * @param type $sUrl * @return type */ protected function getFileID($aMatches) { $id = $aMatches[0]; $containsgf = JchOptimizeHelper::getArray($this->params->get('hidden_containsgf', '')); if (!empty($aMatches['url'])) { if (strpos($aMatches['url'], 'fonts.googleapis.com') !== FALSE || in_array($aMatches['url'], $containsgf)) { $browser = JchOptimizeBrowser::getInstance(); $id .= $browser->getFontHash(); } } return md5($this->sFileHash . $id); }
/** * * @return boolean */ public static function isMsieLT10() { $browser = JchOptimizeBrowser::getInstance(); return $browser->getBrowser() == 'IE' && $browser->getVersion() < 10; }