// Filter for flushing template cache
function FILTER_FLUSH_TEMPLATE_CACHE () {
+ // Do not flush when debugging the template cache
+ if (isDebuggingTemplateCache()) return;
+
// Do we have cached eval() data?
if ((isset($GLOBALS['template_eval'])) && (count($GLOBALS['template_eval']) > 0)) {
// Now flush all
foreach ($GLOBALS['template_eval'] as $template=>$eval) {
// Flush the cache (if not yet found)
- //flushTemplateCache($template, $eval);
+ flushTemplateCache($template, $eval);
} // END - if
} // END - if
}