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