Correctly honor cache compress config option
authorMichael M Slusarz <slusarz@curecanti.org>
Sun, 21 Nov 2010 01:07:46 +0000 (18:07 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Sun, 21 Nov 2010 17:30:36 +0000 (10:30 -0700)
framework/Core/lib/Horde/Core/Factory/Cache.php

index 55075ef..eed41f0 100644 (file)
@@ -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);