fix: favicon was not displayed when using theme within custom directory
This commit is contained in:
parent
9812c91aff
commit
eea5dd36ac
@ -866,7 +866,7 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs
|
||||
// Displays meta
|
||||
print '<meta name="robots" content="noindex,nofollow">'."\n"; // Evite indexation par robots
|
||||
print '<meta name="author" content="Dolibarr Development Team">'."\n";
|
||||
$favicon=DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/favicon.ico';
|
||||
$favicon=dol_buildpath('/theme/'.$conf->theme.'/img/favicon.ico',1);
|
||||
print '<link rel="shortcut icon" type="image/x-icon" href="'.$favicon.'"/>'."\n";
|
||||
// Displays title
|
||||
$appli='Dolibarr';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user