mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-22 08:11:44 +00:00
Hotfix for configDB
git-svn-id: https://svn.fhem.de/fhem/trunk@5646 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
8c88b0cff7
commit
84a6d10d4e
@ -591,7 +591,8 @@ sub DbLog_Connect($)
|
|||||||
Log3 $hash->{NAME}, 1, "Cannot open database configuration file $configfilename.";
|
Log3 $hash->{NAME}, 1, "Cannot open database configuration file $configfilename.";
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@config = split(/\n/,$c);
|
@config = $c;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
if(!open(CONFIG, $configfilename)) {
|
if(!open(CONFIG, $configfilename)) {
|
||||||
Log3 $hash->{NAME}, 1, "Cannot open database configuration file $configfilename.";
|
Log3 $hash->{NAME}, 1, "Cannot open database configuration file $configfilename.";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user