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

index 1826c21..eb30358 100644 (file)
@@ -26,7 +26,7 @@ class Pman_Core_MailTemplateList extends Pman
                 continue;
             }
             
-            if ($handle = opendir($dir . '/')) {
+            if ($handle = opendir($dir . '/mail')) {
                 while (false !== ($entry = readdir($handle))) {
                     if ($entry == "." || $entry == "..") {
                         continue;