2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

01_FHEMWEB.pm: implement /fhem/icons/ring@red (Forum #34304)

git-svn-id: https://svn.fhem.de/fhem/trunk@13517 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2017-02-25 22:19:29 +00:00
parent 0669d97685
commit bd2705ff69

View File

@ -760,6 +760,10 @@ FW_answerCall($)
FW_pO FW_makeImage($img, $img);
return 0;
}
} elsif($iconPath =~ m/\.svg$/i && $icon=~ m/@/) {
$FW_RETTYPE = ext2MIMEType("svg");
FW_pO FW_makeImage($icon, $icon);
return 0;
}
$iconPath =~ m/(.*)\.([^.]*)/;
return FW_serveSpecial($1, $2, $FW_icondir, $cacheable);