mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 01:11:46 +08:00 
			
		
		
		
	update: install command
This commit is contained in:
		| @@ -48,8 +48,8 @@ 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')) { | ||||||
|                 $defaultSecurePath = hash('crc32b', config('app.key')); |                 $securePath = config('v2board.secure_path', config('v2board.frontend_admin_path', hash('crc32b', config('app.key')))); | ||||||
|                 $this->info("访问 http(s)://你的站点/{$defaultSecurePath} 进入管理面板,你可以在用户中心修改你的密码。"); |                 $this->info("访问 http(s)://你的站点/{$securePath} 进入管理面板,你可以在用户中心修改你的密码。"); | ||||||
|                 abort(500, '如需重新安装请删除目录下.env文件'); |                 abort(500, '如需重新安装请删除目录下.env文件'); | ||||||
|             } |             } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user