]> git.mxchange.org Git - mailer.git/blobdiff - inc/filters.php
All CSS classes top2,bottom2,right2,left2 are now deprecated, user details now have...
[mailer.git] / inc / filters.php
index 02e3efdfde97e28cc5cf7b0bf14bae20e83ba2db..3b198af56b624d6e5c47342160051e042c1e83a7 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /************************************************************************
- * MXChange v0.2.1                                    Start: 12/16/2008 *
- * ===============                              Last change: 12/16/2008 *
+ * Mailer v0.2.1-FINAL                                Start: 12/16/2008 *
+ * ===================                          Last change: 12/16/2008 *
  *                                                                      *
  * -------------------------------------------------------------------- *
  * File              : filters.php                                      *
@@ -848,12 +848,15 @@ function FILTER_DISPLAY_PARSING_TIME () {
 
 // 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
 }