MrClow/dokuwiki-template-2011 — comment on commit 0cb9a4aa225ea5898516e134a3c9b58596512b19
File: tpl_header.php line 16
By michitux:

This line fails for me and produces an ugly warning that is displayed in the <h1> because my DokuWiki directory doesn't contain any files but just a .htaccess file referring to the actual (farm) installation. I think assuming that URLs translate to file paths is wrong. I think also that this assumption fails completely when the logo actually comes from data/media where the URL points to fetch.php or a clean url that doesn't exist in the filesystem. Maybe there should be a separate function like tpl_getMediaFile for getting the file path instead of the URL?