Setting back compacted template content will reduce memory usage
authorRoland Häder <roland@mxchange.org>
Mon, 28 Mar 2011 23:10:17 +0000 (23:10 +0000)
committerRoland Häder <roland@mxchange.org>
Mon, 28 Mar 2011 23:10:17 +0000 (23:10 +0000)
inc/classes/main/template/class_BaseTemplateEngine.php

index d31f5cf..6515254 100644 (file)
@@ -1524,6 +1524,9 @@ class BaseTemplateEngine extends BaseFrameworkSystem {
                        } // END - foreach
                } // END - if
 
+               // Set the content again
+               $this->setRawTemplateData($compactedContent);
+
                // Return compacted content
                return $compactedContent;
        }