mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
fhem.pl: Fixing configDB issues
git-svn-id: https://svn.fhem.de/fhem/trunk@5727 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
ef1f236fcf
commit
6482066d10
12
fhem/fhem.pl
12
fhem/fhem.pl
@ -2117,10 +2117,12 @@ GlobalAttr($$$$)
|
||||
my $counter = 0;
|
||||
|
||||
if(configDBUsed()) {
|
||||
my @dbList = split(/,/,cfgDB_Read99()); # retrieve filelist from configDB
|
||||
foreach my $m (@dbList) {
|
||||
CommandReload(undef, $m) if(!$modules{$m}{LOADED});
|
||||
$counter++;
|
||||
my $list = cfgDB_Read99(); # retrieve filelist from configDB
|
||||
if($list) {
|
||||
foreach my $m (split(/,/,$list)) {
|
||||
CommandReload(undef, $m) if(!$modules{$m}{LOADED});
|
||||
$counter++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -3210,7 +3212,7 @@ setGlobalAttrBeforeFork($)
|
||||
|
||||
my ($err, @rows);
|
||||
if($f eq 'configDB') {
|
||||
@rows = cfgDB_attrRead('global');
|
||||
@rows = cfgDB_AttrRead('global');
|
||||
} else {
|
||||
($err, @rows) = FileRead($f);
|
||||
die("$err\n") if($err);
|
||||
|
Loading…
Reference in New Issue
Block a user