Merge branch 'w04_MDL-37666_m25_cssiesend' of git://github.com/skodak/moodle

This commit is contained in:
Sam Hemelryk 2013-01-28 17:56:05 +13:00
commit 44a951b28d

View File

@ -113,7 +113,7 @@ function css_send_ie_css($themename, $rev, $etag, $slasharguments) {
$relroot = preg_replace('|^http.?://[^/]+|', '', $CFG->wwwroot);
$css = "/** Unfortunately IE6/7 does not support more than 4096 selectors in one CSS file, which means we have to use some ugly hacks :-( **/";
$css = "/** Unfortunately IE6-9 does not support more than 4096 selectors in one CSS file, which means we have to use some ugly hacks :-( **/";
if ($slasharguments) {
$css .= "\n@import url($relroot/styles.php/$themename/$rev/plugins);";
$css .= "\n@import url($relroot/styles.php/$themename/$rev/parents);";