From: Edward Date: Wed, 19 Feb 2014 07:48:51 +0000 (+0800) Subject: MailTemplateList.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=93ccdd8dfe85f3fb0be9117342102f7fe1b71c1b MailTemplateList.php --- diff --git a/MailTemplateList.php b/MailTemplateList.php index 1826c21f..eb30358b 100644 --- a/MailTemplateList.php +++ b/MailTemplateList.php @@ -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;