From 0576245f90d0b79f8d15dfc18fd54a5059b507c6 Mon Sep 17 00:00:00 2001 From: liqi Date: Wed, 15 Jan 2025 13:18:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=95=B0=E6=8D=AE=E5=BA=93?= =?UTF-8?q?=E5=8A=A0=E5=AF=86=E7=9B=B8=E5=85=B3=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/config/main.php | 2 +- common/config/main.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/config/main.php b/admin/config/main.php index b9f1586..b7ec3e4 100644 --- a/admin/config/main.php +++ b/admin/config/main.php @@ -23,7 +23,7 @@ return [ * 配置在config.php中,而写在数据库中,通过bootstrap()方法将这些组件模块动态加载到系统中。 * 参考:http://www.yiichina.com/doc/guide/2.0/structure-applications#bootstrap */ - 'bootstrap' => ['log'], +// 'bootstrap' => ['log'], /** * 模块 */ diff --git a/common/config/main.php b/common/config/main.php index 775d34f..d5046ed 100644 --- a/common/config/main.php +++ b/common/config/main.php @@ -34,7 +34,7 @@ return [ 'class' => 'yii\redis\Connection', 'hostname' => env('REDIS_HOST'), 'port' => env('REDIS_PORT'), -// 'password' => env('REDIS_PASSWORD'), + 'password' => env('REDIS_PASSWORD'), 'database' => 1, ], // 'cache' => [