mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
add binary protocol option in MemcachedEngine
This commit is contained in:
parent
bbfe3170dc
commit
a5843dbe87
1 changed files with 1 additions and 0 deletions
|
@ -130,6 +130,7 @@ class MemcachedEngine extends CacheEngine {
|
|||
__d('cake_dev', 'Memcached extension is not build with SASL support')
|
||||
);
|
||||
}
|
||||
$this->_Memcached->setOption(Memcached::OPT_BINARY_PROTOCOL, true);
|
||||
$this->_Memcached->setSaslAuthData($this->settings['login'], $this->settings['password']);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue