- $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');
+- $_message = t("Smarty Permissions Error: templates_c directory is not <strong> %problems </strong> by the web server process.<br />
++ $_message = t("Smarty Permissions Error: templates cache directory is not <strong> %problems </strong> by the web server process.<br />
+ You <strong>must</strong> resolve this issue before you begin to use a Smarty-based theme.
+ See <a href=\"http://drupal.org/project/smarty\">drupal.org/project/smarty</a> for instructions.", array('%problems' => $_problems));
+
+===================================================================
+RCS file: /cvs/drupal/contributions/theme-engines/smarty/smarty.engine,v
+retrieving revision 1.7
+retrieving revision 1.7.2.1
+diff -u -r1.7 -r1.7.2.1
+--- ./smarty.engine 2005/08/21 20:06:23 1.7
++++ ./smarty.engine 2005/12/02 06:22:32 1.7.2.1
+@@ -67,7 +67,7 @@
+ return call_user_func('_smarty_' . $hook, $vars, $file);
+ }
+ elseif (function_exists('_smarty_default')) {
+- return call_user_func('_smarty_default', $hook, $vars, $file);
++ return call_user_func('_smarty_default', $vars, $hook, $file);