diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php
index d19ff014580..2ede678df4f 100644
--- a/htdocs/main.inc.php
+++ b/htdocs/main.inc.php
@@ -868,7 +868,9 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs
print ''."\n";
// Output style sheets (optioncss='print' or '')
- print ''."\n";
+ $themepath=dol_buildpath((empty($conf->global->MAIN_FORCETHEMEDIR)?'':$conf->global->MAIN_FORCETHEMEDIR).$conf->css,1);
+ //print 'themepath='.$themepath;exit;
+ print ''."\n";
// CSS forced by modules (relative url starting with /)
if (is_array($conf->css_modules))
{