MrClow/dokuwiki-template-2011 — Issue #36: logo dimensions produce error
Author: selfthinker
Created: 2012-01-30 13:56:29+00:00
State: open

From https://github.com/MrClow/dokuwiki-template-2011/commit/0cb9a4aa225ea5898516e134a3c9b58596512b19#commitcomment-914047

This line fails for me and produces an ugly warning that is displayed in the

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?