fix: if commandref.html is found in $modpath/www/pgm2 then this is assumed to be the $FW_docdir
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@1744 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -316,6 +316,8 @@ FW_SetDirs() {
|
||||
# doc dir
|
||||
if(-d "$FW_dir/docs") {
|
||||
$FW_docdir = "$FW_dir/docs";
|
||||
} elsif(-f "$FW_dir/pgm2/commandref.html") {
|
||||
$FW_docdir = "$FW_dir/pgm2";
|
||||
} elsif(-d "$attr{global}{modpath}/docs") {
|
||||
$FW_docdir = "$attr{global}{modpath}/docs";
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user