Skip to content

Commit 64466c9

Browse files
author
Marius Cramer
committed
- ported fix for logo dimensions
1 parent 8ae1387 commit 64466c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

interface/web/index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@
9797
}
9898
$tmp_base64 = explode(',', $base64_logo_txt, 2);
9999
$logo_dimensions = $app->functions->getimagesizefromstring(base64_decode($tmp_base64[1]));
100-
$app->tpl->setVar('base64_logo_width', $logo_dimensions[0]);
101-
$app->tpl->setVar('base64_logo_height', $logo_dimensions[1]);
100+
$app->tpl->setVar('base64_logo_width', $logo_dimensions[0].'px');
101+
$app->tpl->setVar('base64_logo_height', $logo_dimensions[1].'px');
102102
$app->tpl->setVar('base64_logo_txt', $base64_logo_txt);
103103

104104
$app->tpl_defaults();

0 commit comments

Comments
 (0)