Closed cmacmackin closed 2 years ago
Note: the page for this template on the Dokuwiki website should be updated with the revised wording from the README if this PR is accepted.
Thank you for your PR and support. Added to the current release 2022-05-05 as well as updated the Dokuwiki page.
The way
Template->getMediaFile()
was written meant that, when looking for media files in the theme directory, it prepended the absolute path of the template directory twice. E.g., it would be looking for a file at/home/username/public_html/lib/tpl/mikio//home/username/public_html/lib/tpl/mikio/themes/themename/images/logo.png
rather than simply/home/username/public_html/lib/tpl/mikio/themes/themename/images/logo.png
. This pull request fixes that bug. It also clarifies the documentation in the README about where exactly the images can be placed.