From 3a4c57cdc1523215082f07cd3570f8ae81e5e799 Mon Sep 17 00:00:00 2001 From: betateilchen Date: Fri, 20 Feb 2015 07:08:36 +0000 Subject: [PATCH] 98_help.pm: use modpath git-svn-id: https://svn.fhem.de/fhem/trunk@8044 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/98_help.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fhem/FHEM/98_help.pm b/fhem/FHEM/98_help.pm index 1d4d37535..d200109d6 100644 --- a/fhem/FHEM/98_help.pm +++ b/fhem/FHEM/98_help.pm @@ -23,7 +23,8 @@ sub CommandHelp { if($mod) { $mod = lc($mod); my %mods; - my @modDir = ("FHEM"); + my $modPath = AttrVal('global','modpath','.'); + my @modDir = ("$modPath/FHEM"); foreach my $modDir (@modDir) { opendir(DH, $modDir) || die "Cant open $modDir: $!\n"; while(my $l = readdir DH) {