SOURCES: drupal-themeengine-smarty-PLD.patch - each theme needs ow...

glen glen at pld-linux.org
Thu Jan 12 00:05:25 CET 2006


Author: glen                         Date: Wed Jan 11 23:05:25 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- each theme needs own cache dir, as the cache filenames are hashed from filename and reusing same files from different theme, result is unpredictable ;)

---- Files affected:
SOURCES:
   drupal-themeengine-smarty-PLD.patch (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SOURCES/drupal-themeengine-smarty-PLD.patch
diff -u SOURCES/drupal-themeengine-smarty-PLD.patch:1.3 SOURCES/drupal-themeengine-smarty-PLD.patch:1.4
--- SOURCES/drupal-themeengine-smarty-PLD.patch:1.3	Thu Dec  8 22:14:41 2005
+++ SOURCES/drupal-themeengine-smarty-PLD.patch	Thu Jan 12 00:05:19 2006
@@ -21,7 +21,7 @@
 -      }
 -    }    
 -    return $dir;
-+	return '/var/cache/drupal/smarty';
++	return '/var/cache/drupal/smarty/' . substr(strrchr($path, '/'), 1);
    }
  
  }
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/drupal-themeengine-smarty-PLD.patch?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list