? fontyourface-1065928.patch
Index: fontyourface.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/fontyourface/fontyourface.module,v
retrieving revision 1.4.2.6
diff -u -p -r1.4.2.6 fontyourface.module
--- fontyourface.module	9 Feb 2011 14:14:48 -0000	1.4.2.6
+++ fontyourface.module	18 Feb 2011 15:26:26 -0000
@@ -508,7 +508,8 @@ function fontyourface_preprocess_page(&$
 
   $css = '';
 
-  if (file_prepare_directory(dirname($destination), FILE_CREATE_DIRECTORY)) {
+  $dir_to_prep = dirname($destination);
+  if (file_prepare_directory($dir_to_prep, FILE_CREATE_DIRECTORY)) {
 
     $enabled_fonts = fontyourface_get_fonts();
 
