diff options
Diffstat (limited to 'include/smarty/libs/sysplugins/smarty_resource.php')
-rw-r--r-- | include/smarty/libs/sysplugins/smarty_resource.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/smarty/libs/sysplugins/smarty_resource.php b/include/smarty/libs/sysplugins/smarty_resource.php index 72611255e..93d9fa7a3 100644 --- a/include/smarty/libs/sysplugins/smarty_resource.php +++ b/include/smarty/libs/sysplugins/smarty_resource.php @@ -240,6 +240,16 @@ abstract class Smarty_Resource return $resource->buildUniqueResourceName($smarty, $name); } + /* + * Check if resource must check time stamps when when loading complied or cached templates. + * Resources like 'extends' which use source components my disable timestamp checks on own resource. + * + * @return bool + */ + public function checkTimestamps() { + return true; + } + /** * initialize Source Object for given resource * wrapper for backward compatibility to versions < 3.1.22 |