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

01_FHEMWEB.pm: fix for removing dotfile-images (Forum #93949)

git-svn-id: https://svn.fhem.de/fhem/trunk@17889 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2018-12-03 18:02:31 +00:00
parent aefbf48d65
commit 39ac25700d

View File

@ -2421,7 +2421,7 @@ FW_iconTable($$$$)
my %icoList = ();
foreach my $style (@FW_iconDirs) {
foreach my $imgName (sort keys %{$FW_icons{$style}}) {
next if($imgName=~m+^\.+); # Skip dot files
next if($imgName =~ m+^\.+ || $imgName =~ m+/\.+); # Skip dot files
$imgName =~ s/\.[^.]*$//; # Cut extension
next if(!$FW_icons{$style}{$imgName}); # Dont cut it twice: FS20.on.png
next if($FW_icons{$style}{$imgName} !~ m/$imgName/); # Skip alias