<?php $userAgent = htmlentities($_SERVER['HTTP_USER_AGENT'], ENT_QUOTES, 'UTF-8');
if (preg_match('~MSIE|Internet Explorer~i', $userAgent) || (strpos($userAgent, 'Trident/7.0') !== false && strpos($userAgent, 'rv:11.0') !== false)) {
    ?>
    <link rel='stylesheet' type="text/css" href="assets/css/webfont-ie.css" />
    <?php
}
?>
本篇文章相关标签: