From 43d98a485d4f447a48e700740dffd355c46dcdf1 Mon Sep 17 00:00:00 2001 From: Tokumeikoi Date: Sat, 8 Feb 2020 15:44:30 +0800 Subject: [PATCH] optimization install --- app/Console/Commands/V2boardInstall.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Console/Commands/V2boardInstall.php b/app/Console/Commands/V2boardInstall.php index e4762ced..1dc75fb2 100644 --- a/app/Console/Commands/V2boardInstall.php +++ b/app/Console/Commands/V2boardInstall.php @@ -49,7 +49,7 @@ class V2boardInstall extends Command } } $this->saveToEnv([ - 'APP_KEY' => 'base64:' . base64_encode(Encrypter::generateKey('AES-256-CBC')), + 'APP_KEY' => 'base64:' . base64_encode(\Encrypter::generateKey('AES-256-CBC')), 'DB_HOST' => $this->ask('请输入数据库地址(默认:localhost)', 'localhost'), 'DB_DATABASE' => $this->ask('请输入数据库名'), 'DB_USERNAME' => $this->ask('请输入数据库用户名'),