mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-03 05:41:37 +01:00
- bugfix failure when the default resource type was set to 'extendsall' https://github.com/smarty-php/smarty/issues/123
This commit is contained in:
@@ -43,7 +43,7 @@ class Smarty_Internal_Runtime_ValidateCompiled
|
||||
} elseif ($_file_to_check[2] == 'string') {
|
||||
continue;
|
||||
} else {
|
||||
$source = Smarty_Template_Source::load(null, $tpl->smarty, $_file_to_check[0]);
|
||||
$source = Smarty_Template_Source::load($tpl, $tpl->smarty, $_file_to_check[0]);
|
||||
$mtime = $source->getTimeStamp();
|
||||
}
|
||||
if (!$mtime || $mtime > $_file_to_check[1]) {
|
||||
|
||||
Reference in New Issue
Block a user