# This patch file was generated by NetBeans IDE
# This patch can be applied using context Tools: Apply Diff Patch action on respective folder.
# It uses platform neutral UTF-8 encoding.
# Above lines and this line are ignored by the patching process.
--- mimemail/theme/mimemail.theme.inc
+++ mimemail/theme/mimemail.theme.inc
@@ -39,9 +39,15 @@
   }
 
   // Process each style sheet
+  global $base_url;
   foreach (explode("\n", $styles) as $style) {
-    if (file_exists($style)) $css .= file_get_contents($style);
+    if (file_exists($style)) {
+      if (ini_get('allow_url_fopen')) { // this will solve mounted problems
+        $style = $base_url.base_path().$style;
   }
+      $css .= file_get_contents($style);
+    }
+  }
 
   $variables['css'] = str_replace(' ','', str_replace("\n", '', $css));
 }
 
