Merge pull request #15999 from gary-kim/bugfix/15954/set-favicon-ico
This commit is contained in:
commit
4bcf2ac639
|
@ -260,6 +260,11 @@ class ImageManager {
|
||||||
$supportedFormats[] = 'image/svg';
|
$supportedFormats[] = 'image/svg';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($key === 'favicon') {
|
||||||
|
$supportedFormats[] = 'image/x-icon';
|
||||||
|
$supportedFormats[] = 'image/vnd.microsoft.icon';
|
||||||
|
}
|
||||||
|
|
||||||
return $supportedFormats;
|
return $supportedFormats;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue