fix missing value for svg
This commit is contained in:
parent
836a8c1b8c
commit
9087347430
1
main.php
1
main.php
|
@ -44,6 +44,7 @@ $showSidebar = page_findnearest($conf['sidebar']) && ($ACT=='show');
|
|||
// get logo either out of the template images folder or data/media folder
|
||||
$logoSize = array();
|
||||
$logo = tpl_getMediaFile(array(':wiki:logo.svg', ':logo.svg', 'images/logo.svg', ':wiki:logo.png', ':logo.png', 'images/logo.png'), false, $logoSize);
|
||||
$logoSize[3] = $logoSize[3] ?? ''; // empty if no size given
|
||||
|
||||
// display logo and wiki title in a link to the home page
|
||||
tpl_link(
|
||||
|
|
Loading…
Reference in New Issue