diff options
Diffstat (limited to 'libs/sysplugins/smarty_internal_resource_file.php')
| -rw-r--r-- | libs/sysplugins/smarty_internal_resource_file.php | 24 |
1 files changed, 3 insertions, 21 deletions
diff --git a/libs/sysplugins/smarty_internal_resource_file.php b/libs/sysplugins/smarty_internal_resource_file.php index db876e5e..b0a5163c 100644 --- a/libs/sysplugins/smarty_internal_resource_file.php +++ b/libs/sysplugins/smarty_internal_resource_file.php @@ -21,6 +21,9 @@ class Smarty_Internal_Resource_File { public $compiler_class = 'Smarty_Internal_SmartyTemplateCompiler'; public $template_lexer_class = 'Smarty_Internal_Templatelexer'; public $template_parser_class = 'Smarty_Internal_Templateparser'; + // properties + public $usesCompiler = true; + public $isEvaluated = false; /** * Return flag if template source is existing @@ -83,27 +86,6 @@ class Smarty_Internal_Resource_File { } /** - * Return flag that this resource uses the compiler - * - * @return boolean true - */ - public function usesCompiler() - { - // template has tags, uses compiler - return true; - } - - /** - * Return flag that this is not evaluated - * - * @return boolean false - */ - public function isEvaluated() - { - // save the compiled file to disk, do not evaluate - return false; - } - /** * Get filepath to compiled template * * @param object $_template template object |
