Allow svgs in the media library (#529)
This commit is contained in:
parent
23d3a73b01
commit
9d1fa83a39
@ -1084,6 +1084,10 @@ function serendipity_guessMime($extension) {
|
||||
$mime = 'image/x-icon';
|
||||
break;
|
||||
|
||||
case 'svg':
|
||||
$mime = 'image/svg';
|
||||
break;
|
||||
|
||||
default:
|
||||
$mime = 'application/octet-stream';
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user