summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2012-01-30 19:17:32 +0100
committerAndreas Gohr <andi@splitbrain.org>2012-01-30 19:17:32 +0100
commit8218bc6870ff6a83417e5a065e24e6707061a02f (patch)
treeb13fb2271022de6999b8776362f0b8237a225330
parent5739c373cd0c08eeb3668bca68b0def6645ba016 (diff)
downloadrpg-8218bc6870ff6a83417e5a065e24e6707061a02f.tar.gz
rpg-8218bc6870ff6a83417e5a065e24e6707061a02f.tar.bz2
fixed logo size setting. closes #36
-rw-r--r--tpl_header.php4
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(