diff --git a/libs/sysplugins/internal.cacheresource_file.php b/libs/sysplugins/internal.cacheresource_file.php index fccae3e1..952dda9a 100644 --- a/libs/sysplugins/internal.cacheresource_file.php +++ b/libs/sysplugins/internal.cacheresource_file.php @@ -164,7 +164,7 @@ class Smarty_Internal_CacheResource_File extends Smarty_Internal_PluginBase { } else { $_compile_id = ''; } - $_cache_dir = $_template->smarty->cache_dir; + $_cache_dir = $this->smarty->cache_dir; if (substr($_cache_dir, -1) != DIRECTORY_SEPARATOR) { $_cache_dir .= DIRECTORY_SEPARATOR; }