]> git.mjollnir.org Git - s9y.git/commitdiff
gzip encoding is making too many problems, set it off as default:
authorgarvinhicking <garvinhicking>
Thu, 28 Apr 2005 12:15:31 +0000 (12:15 +0000)
committergarvinhicking <garvinhicking>
Thu, 28 Apr 2005 12:15:31 +0000 (12:15 +0000)
Warning:  (null)() [ref.outcontrol]: output handler 'ob_gzhandler' cannot be
used twice in Unknown on line 0

or

Warning: ob_start(): output handler 'ob_gzhandler' cannot be used
after 'URL-Rewriter' in /include/functions.inc.php on line 28

Tom, do you know more about it, can you fix it properly? It seems the
ob_functions need to be called before our session_start, but ob_* may also
not interfer with our BC-compatibility $raw_data stuff or the
simplecache plugin.

I also firmly believe gzip compression is a webserver matter and IMHO should
not be touched in application level?

docs/NEWS
include/tpl/config_local.inc.php

index e3f121a8064e07fd5d5042f004b40c4f526528da..7652edfbb5ec6d6a5ff03d92192ccc72c546f586 100644 (file)
--- a/docs/NEWS
+++ b/docs/NEWS
@@ -3,6 +3,10 @@
 Version 0.9 ()
 ------------------------------------------------------------------------
 
+    * Deactivated gzip compression by default, as in certain server
+      setups it creates problem with double-encoding or missing
+      ob_gzhandlers. (garvinhicking)
+
     * Give HTML Nugget the option for a second "description" attribute
       that is used in the Plugin Configuration section, so that HTML
       nuggets with an empty title still display additional information
index b10878f4a3357a810959f4ecaaf9baf0f7dec6f6..2e90fa6e594cd157ae3ff9099f2fa4ed2dec209f 100644 (file)
                                           'title'       => INSTALL_USEGZIP,
                                           'description' => INSTALL_USEGZIP_DESC,
                                           'type'        => 'bool',
-                                          'default'     => true),
+                                          'default'     => false),
 
                                     array('var'         => 'wysiwyg',
                                           'title'       => INSTALL_WYSIWYG,