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:
parent
aefbf48d65
commit
39ac25700d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user