mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
update
This commit is contained in:
parent
20e54ed66c
commit
5c721454fc
@ -38,7 +38,7 @@ class V2boardInit extends Command
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
if (\File::get(base_path() . '/.lock')) {
|
||||
if (\File::exists(base_path() . '/.lock')) {
|
||||
abort(500, 'V2board 已安装,如需重新初始化请删除目录下.lock文件');
|
||||
}
|
||||
\Artisan::call('key:generate');
|
||||
|
Loading…
Reference in New Issue
Block a user