Skip to content

Commit

Permalink
- bugfix the default template handler must calculate the source uid #205
Browse files Browse the repository at this point in the history
  • Loading branch information
uwetews committed Apr 14, 2016
1 parent 9839de9 commit d3b7a34
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions change_log.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
 ===== 3.1.30-dev ===== (xx.xx.xx)
14.04.2016
- 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
- bugfix template inheritance status must be saved when calling sub-templates https://github.com/smarty-php/smarty/issues/215
Expand Down
2 changes: 1 addition & 1 deletion libs/Smarty.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class Smarty extends Smarty_Internal_TemplateBase
/**
* smarty version
*/
const SMARTY_VERSION = '3.1.30-dev/61';
const SMARTY_VERSION = '3.1.30-dev/62';

/**
* define variable scopes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public static function _getDefaultTemplate(Smarty_Template_Source $source)
$source->timestamp = filemtime($_return);
}
$source->filepath = $_return;
$source->uid = sha1($source->filepath);
} elseif ($_return === true) {
$source->content = $_content;
$source->timestamp = $_timestamp;
Expand Down

0 comments on commit d3b7a34

Please sign in to comment.