mirror of
https://github.com/smarty-php/smarty.git
synced 2025-11-15 15:09:51 +01:00
- bugfix the default template handler must calculate the source uid https://github.com/smarty-php/smarty/issues/205
This commit is contained in:
@@ -61,6 +61,7 @@ class Smarty_Internal_Method_RegisterDefaultTemplateHandler
|
||||
$source->timestamp = filemtime($_return);
|
||||
}
|
||||
$source->filepath = $_return;
|
||||
$source->uid = sha1($source->filepath);
|
||||
} elseif ($_return === true) {
|
||||
$source->content = $_content;
|
||||
$source->timestamp = $_timestamp;
|
||||
|
||||
Reference in New Issue
Block a user