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
e57a70970f
commit
6920352c0e
@ -41,6 +41,13 @@ class V2boardInstall extends Command
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
$this->info("
|
||||
__ ______ ____ _
|
||||
\ \ / /___ \| __ ) ___ __ _ _ __ __| |
|
||||
\ \ / / __) | _ \ / _ \ / _` | '__/ _` |
|
||||
\ V / / __/| |_) | (_) | (_| | | | (_| |
|
||||
\_/ |_____|____/ \___/ \__,_|_| \__,_|
|
||||
");
|
||||
if (\File::exists(base_path() . '/.lock')) {
|
||||
abort(500, 'V2board 已安装,如需重新安装请删除目录下.lock文件');
|
||||
}
|
||||
@ -79,6 +86,7 @@ class V2boardInstall extends Command
|
||||
} catch (\Exception $e) {
|
||||
}
|
||||
}
|
||||
$this->info('数据库导入完成');
|
||||
$email = '';
|
||||
while (!$email) {
|
||||
$email = $this->ask('请输入管理员邮箱?');
|
||||
|
Loading…
Reference in New Issue
Block a user