From ccf6bd9a98fa1fad33ee9d1d6c66fcd2f96f1f60 Mon Sep 17 00:00:00 2001 From: gtlee Date: Fri, 14 Jun 2024 22:38:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=A4=B4=E5=83=8FURL?= =?UTF-8?q?=E5=9C=A8=E5=91=BD=E4=BB=A4=E8=A1=8C=E5=88=9D=E5=A7=8B=E5=8C=96?= =?UTF-8?q?=E5=AE=89=E8=A3=85=E6=97=B6=E6=97=A0=E6=B3=95=E8=8E=B7=E5=8F=96?= =?UTF-8?q?=E5=9F=9F=E5=90=8D=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/admin/command/Install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/admin/command/Install.php b/application/admin/command/Install.php index 24e29d20a..df026c770 100644 --- a/application/admin/command/Install.php +++ b/application/admin/command/Install.php @@ -244,7 +244,7 @@ class Install extends Command throw new Exception(__('The current permissions are insufficient to write the file %s', 'application/config.php')); } - $avatar = request()->domain() . '/assets/img/avatar.png'; + $avatar = '/assets/img/avatar.png'; // 变更默认管理员密码 $adminPassword = $adminPassword ? $adminPassword : Random::alnum(8); $adminEmail = $adminEmail ? $adminEmail : "admin@admin.com"; -- Gitee