From: Edward Date: Wed, 19 Feb 2014 09:02:58 +0000 (+0800) Subject: MailTemplateList.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=9b283938ab71721d762841468c5eb289e1473a56 MailTemplateList.php --- diff --git a/MailTemplateList.php b/MailTemplateList.php index 204da7e7..31eb4f9e 100644 --- a/MailTemplateList.php +++ b/MailTemplateList.php @@ -19,21 +19,22 @@ class Pman_Core_MailTemplateList extends Pman_Core_ConvertStyle if(!file_exists($dir . '/mail')){ continue; } - - if ($handle = opendir($dir . '/mail')) { - while (false !== ($entry = readdir($handle))) { - if ($entry == "." || $entry == ".." || !preg_match('/\.html$/', $entry)) { - continue; - } - - $ret[] = array( - 'file' => $entry, - 'content' => $this->convertStyle("$dir/mail/$entry") - ); - } - - closedir($handle); - } + echo "$dir/mail/$entry
"; +// +// if ($handle = opendir($dir . '/mail')) { +// while (false !== ($entry = readdir($handle))) { +// if ($entry == "." || $entry == ".." || !preg_match('/\.html$/', $entry)) { +// continue; +// } +// +// $ret[] = array( +// 'file' => $entry, +// 'content' => $this->convertStyle("$dir/mail/$entry") +// ); +// } +// +// closedir($handle); +// } }