configDB.pm: added InfoPanel for easy migration

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@7903 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen
2015-02-07 13:59:43 +00:00
parent 62deffc891
commit 5331856fe3

View File

@@ -513,6 +513,9 @@ sub cfgDB_MigrationImport() {
}
# import templateDB.gplot
$filename = $attr{global}{modpath};
$filename .= "/www/gplot/template.gplot";
push @files, $filename;
$filename = $attr{global}{modpath};
$filename .= "/www/gplot/templateDB.gplot";
push @files, $filename;
@@ -544,6 +547,15 @@ sub cfgDB_MigrationImport() {
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
$filename ='';
@def = '';