mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-03-03 16:24:28 +08:00
增加redis密码配置
This commit is contained in:
@@ -20,3 +20,4 @@ default_lang = zh-cn
|
|||||||
[CACHE]
|
[CACHE]
|
||||||
driver=file
|
driver=file
|
||||||
REDIS_SELECT=1
|
REDIS_SELECT=1
|
||||||
|
redis_password=
|
||||||
@@ -42,6 +42,7 @@ return [
|
|||||||
'host' => '127.0.0.1',
|
'host' => '127.0.0.1',
|
||||||
'select' => Env::get('cache.redis_select', 0),
|
'select' => Env::get('cache.redis_select', 0),
|
||||||
'prefix' => '',
|
'prefix' => '',
|
||||||
|
'password' => Env::get('cache.redis_password', ''),
|
||||||
],
|
],
|
||||||
// 更多的缓存连接
|
// 更多的缓存连接
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user