Merge branch 'wip_MDL-44854_M26' of git://github.com/gjb2048/moodle into MOODLE_26_STABLE
This commit is contained in:
@@ -74,6 +74,9 @@ if (preg_match('/^[a-z0-9_-]+\.woff$/i', $font, $matches)) {
|
||||
// IE8 must die!!!
|
||||
$font = $matches[0];
|
||||
$mimetype = 'application/vnd.ms-fontobject';
|
||||
} else if (preg_match('/^[a-z0-9_-]+\.svg$/i', $font, $matches)) {
|
||||
$font = $matches[0];
|
||||
$mimetype = 'image/svg+xml';
|
||||
|
||||
} else {
|
||||
font_not_found();
|
||||
|
||||
Reference in New Issue
Block a user