mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 23:22:48 +08:00
修正一处变量错误
This commit is contained in:
@@ -49,7 +49,7 @@ class Memcache extends SessionHandler
|
|||||||
// 建立连接
|
// 建立连接
|
||||||
foreach ((array) $hosts as $i => $host) {
|
foreach ((array) $hosts as $i => $host) {
|
||||||
$port = isset($ports[$i]) ? $ports[$i] : $ports[0];
|
$port = isset($ports[$i]) ? $ports[$i] : $ports[0];
|
||||||
false === $config['timeout'] ?
|
false === $this->config['timeout'] ?
|
||||||
$this->handler->addServer($host, $port, $this->config['persistent'], 1) :
|
$this->handler->addServer($host, $port, $this->config['persistent'], 1) :
|
||||||
$this->handler->addServer($host, $port, $this->config['persistent'], 1, $this->config['timeout']);
|
$this->handler->addServer($host, $port, $this->config['persistent'], 1, $this->config['timeout']);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user