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