function get()
{
$fopts = HTML_FlexyFramework::get()->HTML_Template_Flexy;
- print_r($fopts);exit;
- $templateDir = explode(PATH_SEPARATOR, $fopts->templateDir);
+
+ $templateDir = explode(PATH_SEPARATOR, $fopts['templateDir']);
foreach ($templateDir as $dir){
+ echo "$dir <br/>";
if(!file_exists($dir . '/mail')){
continue;
}
continue;
}
- echo "$entry\n";
+ echo "$entry <br/>";
}
closedir($handle);