mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 09:21:46 +08:00 
			
		
		
		
	optimization install
This commit is contained in:
		| @@ -41,6 +41,13 @@ class V2boardInstall extends Command | |||||||
|      */ |      */ | ||||||
|     public function handle() |     public function handle() | ||||||
|     { |     { | ||||||
|  |         $this->info(" | ||||||
|  |             __     ______  ____                      _ | ||||||
|  |             \ \   / /___ \| __ )  ___   __ _ _ __ __| | | ||||||
|  |              \ \ / /  __) |  _ \ / _ \ / _` | '__/ _` | | ||||||
|  |               \ V /  / __/| |_) | (_) | (_| | | | (_| | | ||||||
|  |                \_/  |_____|____/ \___/ \__,_|_|  \__,_| | ||||||
|  |         "); | ||||||
|         if (\File::exists(base_path() . '/.lock')) { |         if (\File::exists(base_path() . '/.lock')) { | ||||||
|             abort(500, 'V2board 已安装,如需重新安装请删除目录下.lock文件'); |             abort(500, 'V2board 已安装,如需重新安装请删除目录下.lock文件'); | ||||||
|         } |         } | ||||||
| @@ -79,6 +86,7 @@ class V2boardInstall extends Command | |||||||
|             } catch (\Exception $e) { |             } catch (\Exception $e) { | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|  |         $this->info('数据库导入完成'); | ||||||
|         $email = ''; |         $email = ''; | ||||||
|         while (!$email) { |         while (!$email) { | ||||||
|             $email = $this->ask('请输入管理员邮箱?'); |             $email = $this->ask('请输入管理员邮箱?'); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user