From eea5dd36acfe11fc930ac024c309a357c35256c6 Mon Sep 17 00:00:00 2001 From: Grand Philippe Date: Thu, 10 Jan 2013 09:23:52 +0100 Subject: [PATCH] fix: favicon was not displayed when using theme within custom directory --- htdocs/main.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 718fc43318b..28e990aa298 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -866,7 +866,7 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs // Displays meta print ''."\n"; // Evite indexation par robots print ''."\n"; - $favicon=DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/favicon.ico'; + $favicon=dol_buildpath('/theme/'.$conf->theme.'/img/favicon.ico',1); print ''."\n"; // Displays title $appli='Dolibarr';