mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +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:
parent
d416976100
commit
9dd11d3070
@ -316,6 +316,8 @@ FW_SetDirs() {
|
|||||||
# doc dir
|
# doc dir
|
||||||
if(-d "$FW_dir/docs") {
|
if(-d "$FW_dir/docs") {
|
||||||
$FW_docdir = "$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") {
|
} elsif(-d "$attr{global}{modpath}/docs") {
|
||||||
$FW_docdir = "$attr{global}{modpath}/docs";
|
$FW_docdir = "$attr{global}{modpath}/docs";
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user