1.内核更新

2.规则从菜单中批量导入bug修复
This commit is contained in:
2016-09-02 15:02:37 +08:00
parent 7381ce5ce7
commit acd3e6fa25
8 changed files with 42 additions and 19 deletions

View File

@@ -22,6 +22,7 @@ class Redis extends SessionHandler
'host' => '127.0.0.1', // redis主机
'port' => 6379, // redis端口
'password' => '', // 密码
'select' => 0, // 操作库
'expire' => 3600, // 有效期(秒)
'timeout' => 0, // 超时时间(秒)
'persistent' => true, // 是否长连接
@@ -56,6 +57,11 @@ class Redis extends SessionHandler
if ('' != $this->config['password']) {
$this->handler->auth($this->config['password']);
}
if (0 != $this->config['select']) {
$this->handler->select($this->config['select']);
}
return true;
}