diff --git a/FHEM/01_FHEMWEB.pm b/FHEM/01_FHEMWEB.pm index 0473e4ed8..97e0fa193 100644 --- a/FHEM/01_FHEMWEB.pm +++ b/FHEM/01_FHEMWEB.pm @@ -219,8 +219,6 @@ FHEMWEB_Initialize($) "widgetOverride" ); - InternalTimer(time()+60, "FW_closeInactiveClients", 0, 0); - $FW_dir = "$attr{global}{modpath}/www"; $FW_icondir = "$FW_dir/images"; $FW_cssdir = "$FW_dir/pgm2"; @@ -269,6 +267,10 @@ FW_Define($$) FW_Undef($hash, undef) if($hash->{OLDDEF}); # modify + RemoveInternalTimer(0, "FW_closeInactiveClients"); + InternalTimer(time()+60, "FW_closeInactiveClients", 0, 0); + + foreach my $pe ("fhemSVG", "openautomation", "default") { FW_readIcons($pe); } diff --git a/fhem.pl b/fhem.pl index 3dfd5a4d2..4ae560c09 100755 --- a/fhem.pl +++ b/fhem.pl @@ -1462,6 +1462,8 @@ CommandRereadCfg($$) my $informMe = $inform{$name}; %inform = (); %fuuidHash = (); + %intAt = (); + @intAtA = (); doGlobalDef($cfgfile); my $ret;