DataObjects/Core_ip_access.php
[Pman.Core] / Mailer.php
index 47d722a..31b37a5 100644 (file)
@@ -137,6 +137,7 @@ class Pman_Core_Mailer {
         $tmp_opts = array(
            // 'forceCompile' => true,
             'site_prefix' => false,
+            'multiSource' => true,
         );
         if (!empty($this->templateDir)) {
             $tmp_opts['templateDir'] = $this->templateDir;
@@ -184,9 +185,9 @@ class Pman_Core_Mailer {
         
         //print_R($tmp_opts);
         // $tmp_opts['force'] = true;
+        
         $template = new HTML_Template_Flexy(  $tmp_opts );
         $template->compile('mail/'. $templateFile.'.txt');
-        print_R($tmp_opts);exit;
         
         /* use variables from this object to ouput data. */
         $mailtext = $template->bufferedOutputObject($content);
@@ -307,6 +308,7 @@ class Pman_Core_Mailer {
     }
     function send($email = false)
     {
+                       
         $ff = HTML_FlexyFramework::get();
         
         $pg = $ff->page;