34 $tpl_source = $smarty->_read_file($file);
45 $tpl_timestamp = filemtime($file);
66 $templateDir = $parser->getValue(
'templateDir',
'smarty');
67 $userTpl = realpath($templateDir.
"/".$path);
68 if (file_exists($userTpl))
72 if (($libDir = $parser->getValue(
'libDir',
'cms')) ===
false)
74 return realpath($libDir.
"/".$path);
smarty_resource_lib_secure($tpl_name, &$smarty)
throwEx($message, $file='', $line='')
smarty_resource_lib_trusted($tpl_name, &$smarty)
smarty_resource_lib_timestamp($tpl_name, &$tpl_timestamp, &$smarty)
smarty_resource_lib_source($tpl_name, &$tpl_source, &$smarty)