MailTemplateList.php
authorEdward <edward@roojs.com>
Wed, 19 Feb 2014 07:55:17 +0000 (15:55 +0800)
committerEdward <edward@roojs.com>
Wed, 19 Feb 2014 07:55:17 +0000 (15:55 +0800)
MailTemplateList.php

index de9a6db..486c3b6 100644 (file)
@@ -35,7 +35,7 @@ class Pman_Core_MailTemplateList extends Pman
                     }
                     
                     $ret[] = array(
-                        'file' => $entry
+                        'file' => $entry,
                         'content' => file_get_contents("$dir/mail/$entry")
                     );
                 }
@@ -44,8 +44,7 @@ class Pman_Core_MailTemplateList extends Pman
             }
             
         }
-        print_r($ret);exit;
-        exit;
+        
         $this->jdata(array(array('name' => 'aa', 'body'=> 'test')));
         
         print_r(array_unique($fopts->templateDir));