Introduced some wrapper functions, the extension for cache files is now .cache.php...
[mailer.git] / inc / template-functions.php
index 70ffd792b14765771d5d400daa6a14eb4e8e839c..56eb35dc84976691bda8398d795bee11c005783d 100644 (file)
@@ -1931,10 +1931,11 @@ 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.cache',
+                       '%s_compiled/%s/%s.tpl%s',
                        getCachePath(),
                        $prefix,
-                       $template
+                       $template,
+                       getCacheExtension()
                );
        } // END - if