}
$base = $ff->Pman_Cms['project_name'];
-
- $dh = opendir($base);
+ $dir = $ff->Pman_Cms['site_dir'][$base];
+ $dh = opendir($dir);
$ret = array();
if(!$dh){
- $this->jerr("could not open dir: config[Pman_Cms] = " . $base);
+ $this->jerr("could not open dir: config[Pman_Cms] = " . $dir);
return $ret; // something went wrong!?
}
if(empty($fn) || $fn[0] == '.' || !preg_match('/\.bjs$/', $fn)){
continue;
}
-
+ // var_dump($fn);exit;
if($this->cli){
echo "Processing {$fn} \n";
}
$x = DB_DataObject::Factory('cms_templatestr');
$x->syncTemplateWords($template, false);
}
-
- $this->scanPmanTemplates();
+ // pman templates are done via core templates
+ // $this->scanPmanTemplates();
}