[Templating] fixed CacheLoader when more options are given
This commit is contained in:
parent
8427af6389
commit
6ef1f07729
@ -61,7 +61,7 @@ class CacheLoader extends Loader
|
|||||||
{
|
{
|
||||||
$options = $this->mergeDefaultOptions($options);
|
$options = $this->mergeDefaultOptions($options);
|
||||||
|
|
||||||
$path = $this->dir.DIRECTORY_SEPARATOR.md5($template.$options['renderer']).'.tpl';
|
$path = $this->dir.DIRECTORY_SEPARATOR.md5($template.serialize($options)).'.tpl';
|
||||||
|
|
||||||
if ($this->loader instanceof CompilableLoaderInterface)
|
if ($this->loader instanceof CompilableLoaderInterface)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user