### Eclipse Workspace Patch 1.0
#P drupal-cvs
Index: includes/common.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/common.inc,v
retrieving revision 1.764
diff -u -r1.764 common.inc
--- includes/common.inc 14 Apr 2008 17:48:33 -0000 1.764
+++ includes/common.inc 5 May 2008 21:49:03 -0000
@@ -1713,15 +1713,15 @@
// If a CSS file is not to be preprocessed and it's a module CSS file, it needs to *always* appear at the *top*,
// regardless of whether preprocessing is on or off.
if (!$preprocess && $type == 'module') {
- $no_module_preprocess .= '' . "\n";
+ $no_module_preprocess .= '@import url("' . base_path() . $file . $query_string . '") ' . $media . ";\n";
}
// If a CSS file is not to be preprocessed and it's a theme CSS file, it needs to *always* appear at the *bottom*,
// regardless of whether preprocessing is on or off.
else if (!$preprocess && $type == 'theme') {
- $no_theme_preprocess .= '' . "\n";
+ $no_theme_preprocess .= '@import url("' . base_path() . $file . $query_string . '") ' . $media . ";\n";
}
else {
- $output .= '' . "\n";
+ $output .= '@import url("' . base_path() . $file . $query_string . '") ' . $media . ";\n";
}
}
}
@@ -1730,11 +1730,11 @@
if ($is_writable && $preprocess_css) {
$filename = md5(serialize($types) . $query_string) . '.css';
$preprocess_file = drupal_build_css_cache($types, $filename);
- $output .= '' . "\n";
+ $output .= '@import url("' . base_path() . $preprocess_file . '") ' . $media . ";\n";
}
}
- return $no_module_preprocess . $output . $no_theme_preprocess;
+ return '' . "\n";
}
/**