X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Ffunctions.php;h=c3ea1635583126c636c35c8f605add977016a2c4;hp=29bbc8280e1322b5cbd6011ac391e0d3c5b531f6;hb=0e269568bd666186509e98594e83bac199ac26da;hpb=6dc08780fad335a2248a335ccfe023f10fa92078 diff --git a/inc/functions.php b/inc/functions.php index 29bbc8280e..c3ea163558 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -3656,7 +3656,7 @@ function isTemplateCached ($template) { // Flushes non-flushed template cache to disk function flushTemplateCache ($template, $eval) { // Is this cache flushed? - if ((!isTemplateCached($template)) && ($eval != '404')) { + if ((isDebuggingTemplateCache() === false) && (isTemplateCached($template) === false) && ($eval != '404')) { // Generate FQFN $FQFN = sprintf("%s_compiled/templates/%s.tpl.cache", getConfig('CACHE_PATH'), $template); @@ -3671,7 +3671,7 @@ function flushTemplateCache ($template, $eval) { // Reads a template cache function readTemplateCache ($template) { // Check it again - if (isTemplateCached($template)) { + if ((isDebuggingTemplateCache() === false) && (isTemplateCached($template))) { // Generate FQFN $FQFN = sprintf("%s_compiled/templates/%s.tpl.cache", getConfig('CACHE_PATH'), $template);