MailTemplateList.php
[Pman.Core] / MailTemplateList.php
index acf8a31..87f25fa 100644 (file)
@@ -18,9 +18,10 @@ class Pman_Core_MailTemplateList extends Pman
     {
         $fopts = HTML_FlexyFramework::get()->HTML_Template_Flexy;
         
-        $templateDir = explode(PATH_SEPARATOR, $fopts->templateDir);
+        $templateDir = explode(PATH_SEPARATOR, $fopts['templateDir']);
         
         foreach ($templateDir as $dir){
+            echo "$dir <br/>";
             if(!file_exists($dir . '/mail')){
                 continue;
             }