1 --- ./class_wgSmarty.php~ 2005-07-24 04:08:45.000000000 +0300
2 +++ ./class_wgSmarty.php 2005-08-19 12:24:49.000000000 +0300
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';
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);
20 // register custom template resource used by $wgSmarty->tplFetch