optimization install

This commit is contained in:
Tokumeikoi 2020-02-08 15:44:30 +08:00
parent be2caad604
commit 43d98a485d

View File

@ -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('请输入数据库用户名'),