瀏覽代碼

Allow setting favicon with a .ico file

Signed-off-by: Gary Kim <gary@garykim.dev>
tags/v21.0.0beta1
Gary Kim 5 年之前
父節點
當前提交
dfa17e9174
No account linked to committer's email address
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5
    0
      apps/theming/lib/ImageManager.php

+ 5
- 0
apps/theming/lib/ImageManager.php 查看文件

@@ -260,6 +260,11 @@ class ImageManager {
$supportedFormats[] = 'image/svg';
}

if ($key === 'favicon') {
$supportedFormats[] = 'image/x-icon';
$supportedFormats[] = 'image/vnd.microsoft.icon';
}

return $supportedFormats;
}


Loading…
取消
儲存