mirror of
https://github.com/smarty-php/smarty.git
synced 2026-05-05 04:04:10 +02:00
- bugfix sha1() calculations at extends resource and some general improvments on sha1() handling
This commit is contained in:
@@ -52,7 +52,7 @@ class Smarty_Internal_Resource_PHP {
|
||||
if ($_template->security) {
|
||||
$_template->smarty->security_handler->isTrustedResourceDir($_filepath);
|
||||
}
|
||||
|
||||
$_template->templateUid = sha1($_filepath);
|
||||
return $_filepath;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user