From 5b74abc38d5750786f692fe17a9b7667a2edc507 Mon Sep 17 00:00:00 2001 From: Gareth J Barnard Date: Fri, 28 Mar 2014 13:37:39 +0000 Subject: [PATCH] MDL-44850 theme: 'eot' font type not served. --- theme/font.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme/font.php b/theme/font.php index 867b45147b0..dbea587de5d 100644 --- a/theme/font.php +++ b/theme/font.php @@ -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';