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 d31f5cfd6127dd026cc4c64823a6816cc5fe3f3c..65152544391ae55c93ee180069376915fc4c78b1 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;
        }