2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-13 05:06:35 +00:00

configDB.pm: added InfoPanel for easy migration

git-svn-id: https://svn.fhem.de/fhem/trunk@7903 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen 2015-02-07 13:59:43 +00:00
parent 529fd58d29
commit 401a14017b

View File

@ -513,6 +513,9 @@ sub cfgDB_MigrationImport() {
} }
# import templateDB.gplot # import templateDB.gplot
$filename = $attr{global}{modpath};
$filename .= "/www/gplot/template.gplot";
push @files, $filename;
$filename = $attr{global}{modpath}; $filename = $attr{global}{modpath};
$filename .= "/www/gplot/templateDB.gplot"; $filename .= "/www/gplot/templateDB.gplot";
push @files, $filename; push @files, $filename;
@ -544,6 +547,15 @@ sub cfgDB_MigrationImport() {
push @files, $filename; push @files, $filename;
} }
# find InfoPanel layouts
$filename ='';
@def = '';
@def = _cfgDB_findDef('TYPE=InfoPanel','LAYOUTFILE');
foreach $filename (@def) {
next unless $filename;
push @files, $filename;
}
# find holiday files # find holiday files
$filename =''; $filename ='';
@def = ''; @def = '';