From 64466c9c72397911c86b12f1ad9b098c242b139a Mon Sep 17 00:00:00 2001
From: Marius Cramer <m.cramer@pixcept.de>
Date: Tue, 26 May 2015 02:29:40 -0400
Subject: [PATCH] - ported fix for logo dimensions
---
interface/web/index.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/interface/web/index.php b/interface/web/index.php
index af91b26..9838c24 100644
--- a/interface/web/index.php
+++ b/interface/web/index.php
@@ -97,8 +97,8 @@
}
$tmp_base64 = explode(',', $base64_logo_txt, 2);
$logo_dimensions = $app->functions->getimagesizefromstring(base64_decode($tmp_base64[1]));
-$app->tpl->setVar('base64_logo_width', $logo_dimensions[0]);
-$app->tpl->setVar('base64_logo_height', $logo_dimensions[1]);
+$app->tpl->setVar('base64_logo_width', $logo_dimensions[0].'px');
+$app->tpl->setVar('base64_logo_height', $logo_dimensions[1].'px');
$app->tpl->setVar('base64_logo_txt', $base64_logo_txt);
$app->tpl_defaults();
--
Gitblit v1.9.1