From: Elan Ruusamäe Date: Fri, 19 Aug 2005 09:06:49 +0000 (+0000) Subject: - added X-Git-Url: http://git.pld-linux.org/?p=packages%2Fdrupal-themeengine-smarty.git;a=commitdiff_plain;h=7d2afdb0fd35d996f0a667bcb212cf71329cb3c7 - added Changed files: drupal-themeengine-smarty-PLD.patch -> 1.1 --- 7d2afdb0fd35d996f0a667bcb212cf71329cb3c7 diff --git a/drupal-themeengine-smarty-PLD.patch b/drupal-themeengine-smarty-PLD.patch new file mode 100644 index 0000000..582ca85 --- /dev/null +++ b/drupal-themeengine-smarty-PLD.patch @@ -0,0 +1,22 @@ +--- ./smartytemplate.php~ 2005-07-27 16:12:05.000000000 +0300 ++++ ./smartytemplate.php 2005-08-19 11:56:47.000000000 +0300 +@@ -17,7 +17,7 @@ + + // Smarty Drupal engine, by default, expects a smarty installation in ./libs + if (!class_exists('Smarty')) { // prevent redeclaration +- require_once realpath('themes/engines/smarty/libs/Smarty.class.php'); ++ require_once 'Smarty/Smarty.class.php'; + } + + class SmartyTemplate extends Smarty { +--- ./smartytemplate.php~ 2005-08-19 11:59:05.000000000 +0300 ++++ ./smartytemplate.php 2005-08-19 12:01:43.000000000 +0300 +@@ -38,7 +38,7 @@ + + $this->vars = & $this->_tpl_vars; + $this->template_dir = $path; +- $this->compile_dir = $path.'/templates_c'; ++ $this->compile_dir = '/var/cache/drupal/smarty'; + $this->config_dir = $path.'/configs'; + $this->plugins_dir = array(realpath('themes/engines/smarty/plugins'), $path.'/plugins', 'plugins'); + }