diff options
-rw-r--r-- | tpl_header.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tpl_header.php b/tpl_header.php index dea494aa0..ff16b44b9 100644 --- a/tpl_header.php +++ b/tpl_header.php @@ -11,9 +11,7 @@ <h1><?php // get logo either out of the template images folder or data/media folder - $logo = tpl_getMediaFile('logo.png'); - // get the size of the logo - $logoSize = getimagesize($_SERVER["DOCUMENT_ROOT"].$logo); + $logo = tpl_getMediaFile(array(':wiki:logo.png','images/logo.png'),false,$logoSize); // display logo and wiki title in a link to the home page tpl_link( |