-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
edward1108
committed
Oct 30, 2020
1 parent
14024a5
commit c9e0b9d
Showing
2 changed files
with
49 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,23 @@ | ||
<?php | ||
// +---------------------------------------------------------------------- | ||
// | Captcha配置文件 | ||
// | Redis配置文件 | ||
// +---------------------------------------------------------------------- | ||
|
||
return [ | ||
'host' => '127.0.0.1', // redis主机 | ||
'port' => '', // redis端口 | ||
'password' => '', // 密码 | ||
'select' => 0, // 操作库 | ||
'expire' => 0, // 有效期(秒) | ||
'timeout' => 0, // 超时时间(秒) | ||
'persistent' => true, // 是否长连接 | ||
'prefix' => '', //前缀 | ||
// 缓存前缀 | ||
'prefix' => '', | ||
// 缓存有效期 0表示永久缓存,单位:秒 | ||
'expire' => 0, | ||
// redis主机 | ||
'host' => '127.0.0.1', | ||
// redis端口 | ||
'port' => '', | ||
// 密码 | ||
'password' => '', | ||
// 操作库 | ||
'select' => 0, | ||
// 超时时间(秒) | ||
'timeout' => 0, | ||
// 是否长连接 | ||
'persistent' => false, | ||
]; |