We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 064b278 commit 8ee5c60Copy full SHA for 8ee5c60
example/config/config.php
@@ -2,6 +2,7 @@
2
3
declare(strict_types=1);
4
5
+use function Imi\env;
6
use Imi\Util\Imi;
7
8
return [
@@ -78,7 +79,7 @@
78
79
],
80
// 数组资源配置
81
'resource' => [
- 'host' => imiGetEnv('REDIS_SERVER_HOST', '127.0.0.1'),
82
+ 'host' => env('REDIS_SERVER_HOST', '127.0.0.1'),
83
'port' => 6379,
84
// 是否自动序列化变量
85
'serialize' => false,
@@ -103,7 +104,7 @@
103
104
'defaultPool' => 'redis',
105
'connections' => [
106
'redis' => [
107
108
109
110
0 commit comments