Merge branch 'wip_MDL-44854_M26' of git://github.com/gjb2048/moodle into MOODLE_26_STABLE

This commit is contained in:
Marina Glancy
2014-04-01 10:37:56 +08:00
+3
View File
@@ -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();