mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 18:34:27 +02:00
- bugfix the default template handler must calculate the source uid https://github.com/smarty-php/smarty/issues/205
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
===== 3.1.30-dev ===== (xx.xx.xx)
|
===== 3.1.30-dev ===== (xx.xx.xx)
|
||||||
14.04.2016
|
14.04.2016
|
||||||
- bugfix special variable {$smarty.capture.name} was not case sensitive on name https://github.com/smarty-php/smarty/issues/210
|
- bugfix special variable {$smarty.capture.name} was not case sensitive on name https://github.com/smarty-php/smarty/issues/210
|
||||||
|
- bugfix the default template handler must calculate the source uid https://github.com/smarty-php/smarty/issues/205
|
||||||
|
|
||||||
13.04.2016
|
13.04.2016
|
||||||
- bugfix template inheritance status must be saved when calling sub-templates https://github.com/smarty-php/smarty/issues/215
|
- bugfix template inheritance status must be saved when calling sub-templates https://github.com/smarty-php/smarty/issues/215
|
||||||
|
@@ -121,7 +121,7 @@ class Smarty extends Smarty_Internal_TemplateBase
|
|||||||
/**
|
/**
|
||||||
* smarty version
|
* smarty version
|
||||||
*/
|
*/
|
||||||
const SMARTY_VERSION = '3.1.30-dev/61';
|
const SMARTY_VERSION = '3.1.30-dev/62';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* define variable scopes
|
* define variable scopes
|
||||||
|
@@ -61,6 +61,7 @@ class Smarty_Internal_Method_RegisterDefaultTemplateHandler
|
|||||||
$source->timestamp = filemtime($_return);
|
$source->timestamp = filemtime($_return);
|
||||||
}
|
}
|
||||||
$source->filepath = $_return;
|
$source->filepath = $_return;
|
||||||
|
$source->uid = sha1($source->filepath);
|
||||||
} elseif ($_return === true) {
|
} elseif ($_return === true) {
|
||||||
$source->content = $_content;
|
$source->content = $_content;
|
||||||
$source->timestamp = $_timestamp;
|
$source->timestamp = $_timestamp;
|
||||||
|
Reference in New Issue
Block a user