Skip to content
Snippets Groups Projects
Commit 399003d4 authored by Regis Houssin's avatar Regis Houssin
Browse files

Merge pull request #589 from grandoc/develop

fix: favicon was not displayed when using theme within custom directory
parents 9812c91a eea5dd36
No related branches found
No related tags found
No related merge requests found
......@@ -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';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment