]> git.mxchange.org Git - mailer.git/blobdiff - inc/template-functions.php
Naming convention applied, ext-network menu resorted:
[mailer.git] / inc / template-functions.php
index daed3210c6a895a9dfbf6531807e1dc27657ebb9..4086492753c43731870cf2d2198a478800be9d07 100644 (file)
@@ -185,9 +185,11 @@ function compileFinalOutput () {
        } // END - if
 
        // Compress it?
+       /**
+        * @TODO On some pages this is buggy
        if (!empty($_SERVER['HTTP_ACCEPT_ENCODING']) && (strpos('gzip', $_SERVER['HTTP_ACCEPT_ENCODING']) !== null)) {
                // Compress it for HTTP gzip
-               $GLOBALS['output'] = gzencode($GLOBALS['output'], 9, true);
+               $GLOBALS['output'] = gzencode($GLOBALS['output'], 9);
 
                // Add header
                sendHeader('Content-Encoding: gzip');
@@ -198,6 +200,7 @@ function compileFinalOutput () {
                // Add header
                sendHeader('Content-Encoding: deflate');
        }
+       */
 
        // Add final length
        sendHeader('Content-Length: ' . strlen($GLOBALS['output']));