1 --- ./smartytemplate.php~ 2005-07-27 16:12:05.000000000 +0300
2 +++ ./smartytemplate.php 2005-08-19 11:56:47.000000000 +0300
5 // Smarty Drupal engine, by default, expects a smarty installation in ./libs
6 if (!class_exists('Smarty')) { // prevent redeclaration
7 - require_once realpath('themes/engines/smarty/libs/Smarty.class.php');
8 + require_once '/usr/share/php/Smarty/Smarty.class.php';
11 class SmartyTemplate extends Smarty {
12 --- ./smartytemplate.php~ 2005-08-19 11:59:05.000000000 +0300
13 +++ ./smartytemplate.php 2005-08-19 12:01:43.000000000 +0300
16 $this->vars = & $this->_tpl_vars;
17 $this->template_dir = $path;
18 - $this->compile_dir = $path.'/templates_c';
19 + $this->compile_dir = '/var/cache/drupal/smarty';
20 $this->config_dir = $path.'/configs';
21 $this->plugins_dir = array(realpath('themes/engines/smarty/plugins'), $path.'/plugins', 'plugins');