mirror of
https://github.com/moodle/moodle.git
synced 2025-04-14 04:52:36 +02:00
MDL-44850 theme: 'eot' font type not served.
This commit is contained in:
parent
ad32dda90c
commit
9e98a0c04f
@ -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';
|
||||
|
Loading…
x
Reference in New Issue
Block a user