SOURCES: drupal-themeengine-smarty-PLD.patch (NEW) - added

glen glen at pld-linux.org
Fri Aug 19 11:06:54 CEST 2005


Author: glen                         Date: Fri Aug 19 09:06:54 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- added

---- Files affected:
SOURCES:
   drupal-themeengine-smarty-PLD.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/drupal-themeengine-smarty-PLD.patch
diff -u /dev/null SOURCES/drupal-themeengine-smarty-PLD.patch:1.1
--- /dev/null	Fri Aug 19 11:06:54 2005
+++ SOURCES/drupal-themeengine-smarty-PLD.patch	Fri Aug 19 11:06:49 2005
@@ -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');
+   }
================================================================



More information about the pld-cvs-commit mailing list