Merge pull request #15999 from gary-kim/bugfix/15954/set-favicon-ico

This commit is contained in:
John Molakvoæ 2020-10-15 17:09:29 +02:00 committed by GitHub
commit 4bcf2ac639
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -260,6 +260,11 @@ class ImageManager {
$supportedFormats[] = 'image/svg';
}
if ($key === 'favicon') {
$supportedFormats[] = 'image/x-icon';
$supportedFormats[] = 'image/vnd.microsoft.icon';
}
return $supportedFormats;
}