2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 03:06:37 +00:00

98_help.pm: use modpath

git-svn-id: https://svn.fhem.de/fhem/trunk@8044 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen 2015-02-20 07:08:36 +00:00
parent d9bf135106
commit 06fa9ef3de

View File

@ -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) {