summaryrefslogtreecommitdiffstats
path: root/lib/private/memcache/xcache.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/memcache/xcache.php')
-rw-r--r--lib/private/memcache/xcache.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/private/memcache/xcache.php b/lib/private/memcache/xcache.php
index 2dc4a3a6016..1337a7ad612 100644
--- a/lib/private/memcache/xcache.php
+++ b/lib/private/memcache/xcache.php
@@ -63,7 +63,10 @@ class XCache extends Cache {
// AND administration functions are password-protected.
return false;
}
-
+ $var_size = (int) ini_get('xcache.var_size');
+ if (!$var_size) {
+ return false;
+ }
return true;
}
}