mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
optimization install
This commit is contained in:
parent
be2caad604
commit
43d98a485d
@ -49,7 +49,7 @@ class V2boardInstall extends Command
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
$this->saveToEnv([
|
$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_HOST' => $this->ask('请输入数据库地址(默认:localhost)', 'localhost'),
|
||||||
'DB_DATABASE' => $this->ask('请输入数据库名'),
|
'DB_DATABASE' => $this->ask('请输入数据库名'),
|
||||||
'DB_USERNAME' => $this->ask('请输入数据库用户名'),
|
'DB_USERNAME' => $this->ask('请输入数据库用户名'),
|
||||||
|
Loading…
Reference in New Issue
Block a user