diff options
author | Andreas Gohr <andi@splitbrain.org> | 2012-01-30 19:17:32 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2012-01-30 19:17:32 +0100 |
commit | 8218bc6870ff6a83417e5a065e24e6707061a02f (patch) | |
tree | b13fb2271022de6999b8776362f0b8237a225330 | |
parent | 5739c373cd0c08eeb3668bca68b0def6645ba016 (diff) | |
download | rpg-8218bc6870ff6a83417e5a065e24e6707061a02f.tar.gz rpg-8218bc6870ff6a83417e5a065e24e6707061a02f.tar.bz2 |
fixed logo size setting. closes #36
-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( |