Explorar el Código

Allow setting favicon with a .ico file

Signed-off-by: Gary Kim <gary@garykim.dev>
tags/v21.0.0beta1
Gary Kim hace 5 años
padre
commit
dfa17e9174
No account linked to committer's email address
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5
    0
      apps/theming/lib/ImageManager.php

+ 5
- 0
apps/theming/lib/ImageManager.php Ver fichero

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

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

return $supportedFormats;
}


Cargando…
Cancelar
Guardar