From: Elan Ruusamäe Date: Wed, 11 Jan 2006 23:05:19 +0000 (+0000) Subject: - each theme needs own cache dir, as the cache filenames are hashed from filename... X-Git-Url: http://git.pld-linux.org/?p=packages%2Fdrupal-themeengine-smarty.git;a=commitdiff_plain;h=ea30441e30c56eceb38dc9e3de8b087a6860e813 - each theme needs own cache dir, as the cache filenames are hashed from filename and reusing same files from different theme, result is unpredictable ;) Changed files: drupal-themeengine-smarty-PLD.patch -> 1.4 --- diff --git a/drupal-themeengine-smarty-PLD.patch b/drupal-themeengine-smarty-PLD.patch index f673c93..1fb7531 100644 --- a/drupal-themeengine-smarty-PLD.patch +++ b/drupal-themeengine-smarty-PLD.patch @@ -21,7 +21,7 @@ - } - } - return $dir; -+ return '/var/cache/drupal/smarty'; ++ return '/var/cache/drupal/smarty/' . substr(strrchr($path, '/'), 1); } }