mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
update: install
This commit is contained in:
parent
8e7f0bbc44
commit
f380bd3c0e
@ -48,7 +48,7 @@ class V2boardInstall extends Command
|
|||||||
$this->info(" \ V / / __/| |_) | (_) | (_| | | | (_| | ");
|
$this->info(" \ V / / __/| |_) | (_) | (_| | | | (_| | ");
|
||||||
$this->info(" \_/ |_____|____/ \___/ \__,_|_| \__,_| ");
|
$this->info(" \_/ |_____|____/ \___/ \__,_|_| \__,_| ");
|
||||||
if (\File::exists(base_path() . '/.env')) {
|
if (\File::exists(base_path() . '/.env')) {
|
||||||
abort(500, 'V2board 已安装,如需重新安装请删除目录下.lock文件');
|
abort(500, 'V2board 已安装,如需重新安装请删除目录下.env文件');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!copy(base_path() . '/.env.example', base_path() . '/.env')) {
|
if (!copy(base_path() . '/.env.example', base_path() . '/.env')) {
|
||||||
|
Loading…
Reference in New Issue
Block a user