Index: includes/common.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/common.inc,v
retrieving revision 1.1140
diff -u -r1.1140 common.inc
--- includes/common.inc	31 Mar 2010 19:10:39 -0000	1.1140
+++ includes/common.inc	3 Apr 2010 15:33:55 -0000
@@ -3196,14 +3196,13 @@
     $contents = file_get_contents($file);
 
     // Change to the current stylesheet's directory.
-    $cwd = getcwd();
     chdir(dirname($file));
 
     // Process the stylesheet.
     $contents = drupal_load_stylesheet_content($contents, $_optimize);
 
     // Change back directory.
-    chdir($cwd);
+    chdir(DRUPAL_ROOT);
   }
 
   return $contents;
Index: includes/bootstrap.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/bootstrap.inc,v
retrieving revision 1.369
diff -u -r1.369 bootstrap.inc
--- includes/bootstrap.inc	3 Apr 2010 03:36:11 -0000	1.369
+++ includes/bootstrap.inc	3 Apr 2010 15:33:56 -0000
@@ -2686,7 +2686,7 @@
     $args = func_get_args();
     array_shift($args);
     // Save callback and arguments
-    $callbacks[] = array('callback' => $callback, 'arguments' => $args, 'cwd' => getcwd());
+    $callbacks[] = array('callback' => $callback, 'arguments' => $args, 'cwd' => DRUPAL_ROOT);
   }
   return $callbacks;
 }
