1.内核更新
2.规则从菜单中批量导入bug修复
This commit is contained in:
5
core/library/think/cache/driver/Redis.php
vendored
5
core/library/think/cache/driver/Redis.php
vendored
@@ -27,6 +27,7 @@ class Redis extends Driver
|
||||
'host' => '127.0.0.1',
|
||||
'port' => 6379,
|
||||
'password' => '',
|
||||
'select' => 0,
|
||||
'timeout' => 0,
|
||||
'expire' => 0,
|
||||
'persistent' => false,
|
||||
@@ -53,6 +54,10 @@ class Redis extends Driver
|
||||
if ('' != $this->options['password']) {
|
||||
$this->handler->auth($this->options['password']);
|
||||
}
|
||||
|
||||
if (0 != $this->options['select']) {
|
||||
$this->handler->select($this->options['select']);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user