2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-22 14:16:42 +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:
tobiasfaust 2014-04-25 18:03:29 +00:00
parent 8c88b0cff7
commit 84a6d10d4e

View File

@ -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.";