diff --git a/UNL/Templates.php b/UNL/Templates.php index 98f572d..d16fc16 100644 --- a/UNL/Templates.php +++ b/UNL/Templates.php @@ -128,7 +128,7 @@ static function &factory($type, $coptions = false) function getCache() { $cache = self::getCachingService(); - $cache_key = self::$options['version'].$this->__template; + $cache_key = self::$options['version'].self::$options['templatedependentspath'].$this->__template; // Test if there is a valid cache for this template if ($data = $cache->get($cache_key)) { // Content is in $data