// CFG: STATS-ENABLED (temporary tables, if your database crashs all is gone)
setConfigEntry('STATS_ENABLED', 'Y');
+// GLOBAL: DEBUG-TEMPLATE-CACHE
+setConfigEntry('DEBUG_TEMPLATE_CACHE', 'N');
+
// Connect to the MySQL database...
loadIncludeOnce('inc/mysql-connect.php');
// CFG: DEBUG-MODE (if enabled all mails will be *displayed* and *not* send!)
setConfigEntry('DEBUG_MODE', 'Y');
+// CFG: DEBUG-TEMPLATE-CACHE
+setConfigEntry('DEBUG_TEMPLATE_CACHE', 'N');
+
// CFG: DEBUG-SQL (Logs all queries to inc/cache/mysql.log)
//setConfigEntry('DEBUG_SQL', 'Y');
// 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
}