]>
Commit | Line | Data |
---|---|---|
7d2afdb0 ER |
1 | --- ./smartytemplate.php~ 2005-07-27 16:12:05.000000000 +0300 |
2 | +++ ./smartytemplate.php 2005-08-19 11:56:47.000000000 +0300 | |
3 | @@ -17,7 +17,7 @@ | |
4 | ||
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'); | |
62f88e96 | 8 | + require_once '/usr/share/php/Smarty/Smarty.class.php'; |
7d2afdb0 ER |
9 | } |
10 | ||
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 | |
14 | @@ -38,7 +38,7 @@ | |
15 | ||
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'); | |
22 | } |