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
1 changed files with 5 additions and 0 deletions

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;
}