2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-01 01:09:47 +00:00

01_FHEMWEB.pm: fix /icons/device mimetype for SVG (Forum #38294)

git-svn-id: https://svn.fhem.de/fhem/trunk@8864 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2015-07-01 08:36:36 +00:00
parent 0d3e06f785
commit 24d431a86c

View File

@ -529,6 +529,7 @@ FW_answerCall($)
return 0 if(!$img); return 0 if(!$img);
$iconPath = FW_iconPath($img); $iconPath = FW_iconPath($img);
if($iconPath =~ m/\.svg$/i) { if($iconPath =~ m/\.svg$/i) {
$FW_RETTYPE = ext2MIMEType("svg");
FW_pO FW_makeImage($img, $img); FW_pO FW_makeImage($img, $img);
return 0; return 0;
} }