Skip to content

Commit

Permalink
MAJOR - Fixed the replacement of logo.png with the start page using t…
Browse files Browse the repository at this point in the history
…he conf variable
  • Loading branch information
LouisOuellet committed Mar 7, 2024
1 parent 633ba5c commit 5792597
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tpl_functions.php
Expand Up @@ -41,7 +41,7 @@ function tpl_getLogo()
$logo = tpl_getMediaFile($logoImages, false, $logoSize);
$link = wl();
if(tpl_getConf('doLogoLinkChangesByNamespace')){
$link = str_replace(['/_media','logo.png'],['','index'],$logo);
$link = str_replace(['/_media','logo.png'],['',$conf['start']],$logo);
}

$return .= '<a class="site-logo" href="'.$link.'" title="'.$conf['title'].'" rel="home" accesskey="h" title="[H]">';
Expand Down

0 comments on commit 5792597

Please sign in to comment.