mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-18 18:16:03 +00:00
include modpath to module reload
git-svn-id: https://svn.fhem.de/fhem/trunk@6460 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d2ea41036f
commit
2696e4142d
@ -6116,7 +6116,7 @@ sub CUL_HM_getChnLvl($){# in: name out: vit or phys level
|
||||
|
||||
#--------------- Conversion routines for register settings---------------------
|
||||
sub CUL_HM_initRegHash() { #duplicate short and long press register
|
||||
my $mp = "./FHEM";
|
||||
my $mp = "./$attr{global}{modpath}/FHEM";
|
||||
opendir(DH, $mp) || return;
|
||||
foreach my $m (grep /^HMConfig_(.*)\.pm$/,readdir(DH)) {
|
||||
my $file = "${mp}/$m";
|
||||
|
Loading…
x
Reference in New Issue
Block a user