Merge pull request #23654 from owncloud/issue-23653-xcache-detection-fails
xcache.var_size with 64M should evaluate to isAvailable
This commit is contained in:
commit
748a59db11
|
@ -125,7 +125,7 @@ class XCache extends Cache implements IMemcache {
|
||||||
// AND administration functions are password-protected.
|
// AND administration functions are password-protected.
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
$var_size = \OC::$server->getIniWrapper()->getNumeric('xcache.var_size');
|
$var_size = \OC::$server->getIniWrapper()->getBytes('xcache.var_size');
|
||||||
if (!$var_size) {
|
if (!$var_size) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue