mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 10:24:26 +02: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:
@@ -1,4 +1,7 @@
|
||||
===== 3.1.29-dev ===== (xx.xx.2015)
|
||||
20.12.2015
|
||||
- bugfix failure when the default resource type was set to 'extendsall' https://github.com/smarty-php/smarty/issues/123
|
||||
|
||||
19.12.2015
|
||||
- bugfix using $smarty.capture.foo in expressions could fail https://github.com/smarty-php/smarty/pull/138
|
||||
- bugfix broken PHP 5.2 compatibility https://github.com/smarty-php/smarty/issues/139
|
||||
|
@@ -118,7 +118,7 @@ class Smarty extends Smarty_Internal_TemplateBase
|
||||
/**
|
||||
* smarty version
|
||||
*/
|
||||
const SMARTY_VERSION = '3.1.29-dev/13';
|
||||
const SMARTY_VERSION = '3.1.29-dev/14';
|
||||
|
||||
/**
|
||||
* define variable scopes
|
||||
|
@@ -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