MailTemplateList.php
authorEdward <edward@roojs.com>
Wed, 19 Feb 2014 09:05:29 +0000 (17:05 +0800)
committerEdward <edward@roojs.com>
Wed, 19 Feb 2014 09:05:29 +0000 (17:05 +0800)
MailTemplateList.php

index 827638a..1ab5705 100644 (file)
@@ -20,7 +20,7 @@ class Pman_Core_MailTemplateList extends Pman_Core_ConvertStyle
                 continue;
             }
               
-            echo dirname($dir . '/mail');
+            echo dir($dir . '/mail');
 //            if ($handle = opendir($dir . '/mail')) {
 //                while (false !== ($entry = readdir($handle))) {
 //                    if ($entry == "." || $entry == ".." || !preg_match('/\.html$/', $entry)) {