mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-44850 theme: 'eot' font type not served.
This commit is contained in:
parent
ad32dda90c
commit
9e98a0c04f
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ if (preg_match('/^[a-z0-9_-]+\.woff$/i', $font, $matches)) {
|
||||||
$font = $matches[0];
|
$font = $matches[0];
|
||||||
$mimetype = 'application/x-font-opentype';
|
$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!!!
|
// IE8 must die!!!
|
||||||
$font = $matches[0];
|
$font = $matches[0];
|
||||||
$mimetype = 'application/vnd.ms-fontobject';
|
$mimetype = 'application/vnd.ms-fontobject';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue