2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 06:39:11 +00:00

fix: if commandref.html is found in $modpath/www/pgm2 then this is assumed to be the $FW_docdir

git-svn-id: https://svn.fhem.de/fhem/trunk@1744 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
borisneubert 2012-07-21 07:51:52 +00:00
parent d416976100
commit 9dd11d3070

View File

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