Marius Cramer
2015-05-26 64466c9c72397911c86b12f1ad9b098c242b139a
- ported fix for logo dimensions
1 files modified
4 ■■■■ changed files
interface/web/index.php 4 ●●●● patch | view | raw | blame | history
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();