mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-10 02:33:02 +02:00
update to Smarty 3.1.29
This commit is contained in:
@@ -44,7 +44,7 @@ class Smarty_Internal_Resource_Extends extends Smarty_Resource
|
||||
if ($_s->type == 'php') {
|
||||
throw new SmartyException("Resource type {$_s->type} cannot be used with the extends resource type");
|
||||
}
|
||||
$sources[$_s->uid] = $_s;
|
||||
$sources[ $_s->uid ] = $_s;
|
||||
$uid .= $_s->filepath;
|
||||
if ($_template) {
|
||||
$exists = $exists && $_s->exists;
|
||||
@@ -110,4 +110,15 @@ class Smarty_Internal_Resource_Extends extends Smarty_Resource
|
||||
{
|
||||
return str_replace(':', '.', basename($source->filepath));
|
||||
}
|
||||
|
||||
/*
|
||||
* Disable timestamp checks for extends resource.
|
||||
* The individual source components will be checked.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function checkTimestamps()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user