From fdd8edd84ced531b42d3b9c2fe240bf15929f1e8 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 18 May 2011 12:59:09 +0000 Subject: [PATCH] Perf: Little speed enhancement for external modules using their own static css. --- htdocs/main.inc.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 9515f7a858a..d2da3d94dec 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -916,7 +916,10 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs { foreach($conf->css_modules as $cssfile) { // cssfile is an absolute path - print ''."\n"; + print ''."\n"; } } // CSS forced by page in top_htmlhead call (relative url starting with /) @@ -924,7 +927,10 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs { foreach($arrayofcss as $cssfile) { - print ''."\n"; + print ''."\n"; } }