Hi,
I recently modified the wiki code to become an appmod and in the process
noticed a problem:
the wiki code uses {ssi,{rel_path, ...' to include the HTML template ,
which fails miserably due to the fact that yaws can not determine the
'fullpath' correctly. This in itself is correct as for appmods there is
no correct fullpath, and use of '{ssi,{abs_path,...' would most likely
be best to use for appmods.
However setting a default for fullpath to an empty list (docroot) will
make {ssi,{rel_path,...' work for appmods and does not harm anything
else (as it will be set properly in other cases). Just in case I also
put a default value for path and dir.
Patch included
Regards
/Rob
|