mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
01_FHEMWEB.pm: ignore dotfiles in the icon directory (Forum #93949)
git-svn-id: https://svn.fhem.de/fhem/trunk@17882 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
e079296db7
commit
cde9c5856f
@ -2421,6 +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
|
||||
$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