]> git.mxchange.org Git - hub.git/commitdiff
GZIP does maybe only work with SVN version of PHP, so we take ZLIB
authorRoland Häder <roland@mxchange.org>
Wed, 31 Aug 2011 20:45:48 +0000 (20:45 +0000)
committerRoland Häder <roland@mxchange.org>
Wed, 31 Aug 2011 20:45:48 +0000 (20:45 +0000)
application/hub/config.php
application/hub/main/factories/package/class_NetworkPackageFactory.php

index fa0a3ed2d7272965da0755df40ccd68f1497efb6..a7de9c2232fb3bee1ecd9ac2a58e123fe2e66eab 100644 (file)
@@ -463,7 +463,7 @@ $cfg->setConfigEntry('network_package_class', 'NetworkPackage');
 $cfg->setConfigEntry('deco_package_compressor_class', 'NetworkPackageCompressorDecorator');
 
 // CFG: RAW-PACKAGE-COMPRESSOR-CLASS
-$cfg->setConfigEntry('raw_package_compressor_class', 'GzipCompressor');
+$cfg->setConfigEntry('raw_package_compressor_class', 'ZlibCompressor');
 
 // CFG: SOCKET-REGISTRY-CLASS
 $cfg->setConfigEntry('socket_registry_class', 'SocketRegistry');
index 79c8a3cf962d1a8d0eda1c0090a509325c824029..68e2d7619815dd7dcdb66c64eb06e898b30f2d17 100644 (file)
@@ -46,7 +46,7 @@ class NetworkPackageFactory extends ObjectFactory {
                        $packageInstance = Registry::getRegistry()->getInstance('network_package');
                } else {
                        /**
-                        * Prepare the compressor for our package, GZIP should be fine but we
+                        * Prepare the compressor for our package, ZLIB should be fine but we
                         * keep it open here so you can experiment with the settings and don't
                         * need to touch any code.
                         */