mirror of
https://github.com/smarty-php/smarty.git
synced 2026-04-12 20:55:52 +02:00
- bugfix of parent/global variable update at included/merged subtemplates
- encode final template filepath into filename of compiled and cached files
This commit is contained in:
@@ -27,7 +27,7 @@ class Smarty_Internal_CacheResource_File {
|
||||
*/
|
||||
public function getCachedFilepath($template)
|
||||
{
|
||||
return $this->buildCachedFilepath ($template->resource_name, $template->cache_id, $template->compile_id);
|
||||
return $this->buildCachedFilepath ($template->getTemplateFilepath(), $template->cache_id, $template->compile_id);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user