소스 검색

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…
취소
저장