update smarty to version 3.1.29

This commit is contained in:
Mario Vavti
2016-04-23 21:24:22 +02:00
parent 78bf4564f2
commit 7e30c1dd82
29 changed files with 1417 additions and 1383 deletions

View File

@@ -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