}
- function scanPHP($base, $dir, $fn)
- {
-
- $tp = DB_DAtaObject::Factory('core_template');
- $temp = $tp->syncPhpGetText(array(
- 'base' =>$base,
- 'template_dir' => $dir,
- 'template' => $fn
- ));
- return $temp->id;
-
- }
- function scanJS($base, $dir, $fn)
- {
-
-
- return $temp->id;
-
- }
function scanTemplatesBase($base)
{
$dir = $ff->Pman_Cms['site_dir'][$base];
$dh = opendir($dir);
- $tp = DB_DAtaObject::Factory('core_template');
+ $tp = DB_DAtaObject::Factory('cms_template');
$ret = array();