Allow svgs in the media library (#529)

This commit is contained in:
onli 2018-06-14 22:14:04 +02:00
parent 23d3a73b01
commit 9d1fa83a39

View File

@ -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;