mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-14 13:42:04 +00:00
add checkbox for enabling memcached
This commit is contained in:
parent
9f5390e560
commit
e714e361a9
|
@ -144,6 +144,8 @@ class Settings { /* {{{ */
|
||||||
var $_batchOperations = array(); // or 'all', 'change_owner', etc.
|
var $_batchOperations = array(); // or 'all', 'change_owner', etc.
|
||||||
// jump straight to the document if it is the only hit of a search
|
// jump straight to the document if it is the only hit of a search
|
||||||
var $_showSingleSearchHit = true;
|
var $_showSingleSearchHit = true;
|
||||||
|
// enable/disable use of memcached
|
||||||
|
var $_enableMemcached = false;
|
||||||
// contentOffsetDirTo
|
// contentOffsetDirTo
|
||||||
var $_contentOffsetDir = "1048576";
|
var $_contentOffsetDir = "1048576";
|
||||||
// Maximum number of sub-directories per parent directory
|
// Maximum number of sub-directories per parent directory
|
||||||
|
@ -647,6 +649,7 @@ class Settings { /* {{{ */
|
||||||
$this->_partitionSize = strval($tab["partitionSize"]);
|
$this->_partitionSize = strval($tab["partitionSize"]);
|
||||||
$this->_maxUploadSize = strval($tab["maxUploadSize"]);
|
$this->_maxUploadSize = strval($tab["maxUploadSize"]);
|
||||||
$this->_enableXsendfile = Settings::boolVal($tab["enableXsendfile"]);
|
$this->_enableXsendfile = Settings::boolVal($tab["enableXsendfile"]);
|
||||||
|
$this->_enableMemcached = Settings::boolVal($tab["enableMemcached"]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// XML Path: /configuration/system/authentication
|
// XML Path: /configuration/system/authentication
|
||||||
|
@ -1045,6 +1048,7 @@ class Settings { /* {{{ */
|
||||||
$this->setXMLAttributValue($node, "partitionSize", $this->_partitionSize);
|
$this->setXMLAttributValue($node, "partitionSize", $this->_partitionSize);
|
||||||
$this->setXMLAttributValue($node, "maxUploadSize", $this->_maxUploadSize);
|
$this->setXMLAttributValue($node, "maxUploadSize", $this->_maxUploadSize);
|
||||||
$this->setXMLAttributValue($node, "enableXsendfile", $this->_enableXsendfile);
|
$this->setXMLAttributValue($node, "enableXsendfile", $this->_enableXsendfile);
|
||||||
|
$this->setXMLAttributValue($node, "enableMemcached", $this->_enableMemcached);
|
||||||
|
|
||||||
// XML Path: /configuration/system/authentication
|
// XML Path: /configuration/system/authentication
|
||||||
$node = $this->getXMLNode($xml, '/configuration/system', 'authentication');
|
$node = $this->getXMLNode($xml, '/configuration/system', 'authentication');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user