MDL-44850 theme: 'eot' font type not served.

This commit is contained in:
Gareth J Barnard 2014-03-28 13:32:31 +00:00
parent ad32dda90c
commit 9e98a0c04f

View File

@ -70,7 +70,7 @@ if (preg_match('/^[a-z0-9_-]+\.woff$/i', $font, $matches)) {
$font = $matches[0];
$mimetype = 'application/x-font-opentype';
} else if (preg_match('/^[a-z0-9_-]+\.oet$/i', $font, $matches)) {
} else if (preg_match('/^[a-z0-9_-]+\.eot$/i', $font, $matches)) {
// IE8 must die!!!
$font = $matches[0];
$mimetype = 'application/vnd.ms-fontobject';