From 401a14017b1b6cf6d91b5120687f4a5489e48bd8 Mon Sep 17 00:00:00 2001 From: betateilchen <> Date: Sat, 7 Feb 2015 13:59:43 +0000 Subject: [PATCH] configDB.pm: added InfoPanel for easy migration git-svn-id: https://svn.fhem.de/fhem/trunk@7903 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/configDB.pm | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/fhem/configDB.pm b/fhem/configDB.pm index 9b5193b1f..aeb59c342 100644 --- a/fhem/configDB.pm +++ b/fhem/configDB.pm @@ -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 = '';