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