From: Michael M Slusarz Date: Sun, 21 Nov 2010 01:07:46 +0000 (-0700) Subject: Correctly honor cache compress config option X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=3ac83677b7cdc39ac897ab440196002316e7dbae;p=horde.git Correctly honor cache compress config option --- diff --git a/framework/Core/lib/Horde/Core/Factory/Cache.php b/framework/Core/lib/Horde/Core/Factory/Cache.php index 55075ef46..eed41f009 100644 --- a/framework/Core/lib/Horde/Core/Factory/Cache.php +++ b/framework/Core/lib/Horde/Core/Factory/Cache.php @@ -46,6 +46,7 @@ class Horde_Core_Factory_Cache if (isset($GLOBALS['conf']['cache']['default_lifetime'])) { $params['lifetime'] = $GLOBALS['conf']['cache']['default_lifetime']; } + $params['compress'] = !empty($GLOBALS['conf']['cache']['compress']); $params['logger'] = $injector->getInstance('Horde_Log_Logger'); $lc_driver = Horde_String::lower($driver);