]> git.pld-linux.org Git - packages/drupal-themeengine-wgsmarty.git/blame - drupal-themeengine-wgsmarty-PLD.patch
- tabs in preamble
[packages/drupal-themeengine-wgsmarty.git] / drupal-themeengine-wgsmarty-PLD.patch
CommitLineData
deb297bc
ER
1--- ./class_wgSmarty.php~ 2005-07-24 04:08:45.000000000 +0300
2+++ ./class_wgSmarty.php 2005-08-19 12:24:49.000000000 +0300
3@@ -3,7 +3,7 @@
4 // Check for existing Smarty class to avoid collisions with other modules
5 // (notably Gallery). Hopefully the Smarty versions will be compatible.
6 if ( !class_exists('Smarty') ) {
7- require_once(realpath('themes/engines/wgsmarty/smarty/libs/Smarty.class.php'));
8+ require_once 'Smarty/Smarty.class.php';
9 }
10
11 /**
12@@ -85,7 +85,7 @@
13 // configure smarty
14 $this->plugins_dir[] = $this->vars['root'] . 'themes/engines/wgsmarty/plugins';
15 $this->template_dir = $this->vars['root'];
16- $this->compile_dir = variable_get('wgsmarty_compile_dir', $this->vars['root'] . 'themes/engines/wgsmarty/cache_compiled');
17+ $this->compile_dir = '/var/cache/drupal/wgsmarty';
18 $this->compile_check = (bool)variable_get('wgsmarty_compile_check', false);
19
20 // register custom template resource used by $wgSmarty->tplFetch
This page took 0.06693 seconds and 4 git commands to generate.