summaryrefslogtreecommitdiff
path: root/it_cache.class
diff options
context:
space:
mode:
Diffstat (limited to 'it_cache.class')
-rw-r--r--it_cache.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_cache.class b/it_cache.class
index 718ac3b..c3677e3 100644
--- a/it_cache.class
+++ b/it_cache.class
@@ -68,7 +68,7 @@ function put($key, $value, $p = array())
if ($p['distributed'] && ($memcache = it_cache::_get_memcache($p)))
{
- @$memcache->set($key, $value, 0, $p['ttl']);
+ @$memcache->set($key, $value, MEMCACHE_COMPRESSED, $p['ttl']);
}
else
{