- remove triplle extension (.tpl.cache.php)
[mailer.git] / inc / template-functions.php
index 56eb35d..5eb84e4 100644 (file)
@@ -1931,7 +1931,8 @@ function generateCacheFqfn ($prefix, $template) {
        if (!isset($GLOBALS['template_cache_fqfn'][$prefix][$template])) {
                // Generate the FQFN
                $GLOBALS['template_cache_fqfn'][$prefix][$template] = sprintf(
-                       '%s_compiled/%s/%s.tpl%s',
+                       '%s%s_compiled/%s/%s%s',
+                       getPath(),
                        getCachePath(),
                        $prefix,
                        $template,