use php5-isms
[platal.git] / include / xorg.mailer.inc.php
index 19e64a2..ccc4791 100644 (file)
@@ -20,7 +20,7 @@
  ***************************************************************************/
 
 require_once('diogenes/diogenes.hermes.inc.php');
-require_once('Smarty.class.php');
+require_once('smarty/libs/Smarty.class.php');
 
 // {{{ class XOrgMailer
 
@@ -54,9 +54,9 @@ class XOrgMailer extends Smarty
         $this->caching=false;
         $this->compile_check=true;
 
-        $this->template_dir = $globals->root . "/templates/";
-        $this->compile_dir  = $globals->root . "/spool/templates_c/";
-        $this->config_dir   = $globals->root . "/configs/";
+        $this->template_dir = $globals->spoolroot . "/templates/";
+        $this->compile_dir  = $globals->spoolroot . "/spool/templates_c/";
+        $this->config_dir   = $globals->spoolroot . "/configs/";
 
         $this->register_outputfilter('mail_format');
         $this->register_function('from', 'set_from');