SOURCES: drupal-themeengine-wgsmarty-PLD.patch (NEW) - created

glen glen at pld-linux.org
Fri Aug 19 11:26:23 CEST 2005


Author: glen                         Date: Fri Aug 19 09:26:22 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- created

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

---- Diffs:

================================================================
Index: SOURCES/drupal-themeengine-wgsmarty-PLD.patch
diff -u /dev/null SOURCES/drupal-themeengine-wgsmarty-PLD.patch:1.1
--- /dev/null	Fri Aug 19 11:26:22 2005
+++ SOURCES/drupal-themeengine-wgsmarty-PLD.patch	Fri Aug 19 11:26:17 2005
@@ -0,0 +1,20 @@
+--- ./class_wgSmarty.php~	2005-07-24 04:08:45.000000000 +0300
++++ ./class_wgSmarty.php	2005-08-19 12:24:49.000000000 +0300
+@@ -3,7 +3,7 @@
+ // Check for existing Smarty class to avoid collisions with other modules
+ // (notably Gallery). Hopefully the Smarty versions will be compatible.
+ if ( !class_exists('Smarty') ) {
+-  require_once(realpath('themes/engines/wgsmarty/smarty/libs/Smarty.class.php'));
++  require_once 'Smarty/Smarty.class.php';
+ }
+ 
+ /**
+@@ -85,7 +85,7 @@
+     // configure smarty
+     $this->plugins_dir[] = $this->vars['root'] . 'themes/engines/wgsmarty/plugins';
+     $this->template_dir = $this->vars['root'];
+-    $this->compile_dir = variable_get('wgsmarty_compile_dir', $this->vars['root'] . 'themes/engines/wgsmarty/cache_compiled');
++    $this->compile_dir = '/var/cache/drupal/wgsmarty';
+     $this->compile_check = (bool)variable_get('wgsmarty_compile_check', false);
+ 
+     // register custom template resource used by $wgSmarty->tplFetch
================================================================



More information about the pld-cvs-commit mailing list