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

This commit is contained in:
Gareth J Barnard
2014-03-31 11:05:08 +01:00
parent 18b388efe7
commit 5b74abc38d
+1 -1
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';