mirror of
				https://github.com/v2board/v2board.git
				synced 2025-11-01 01:41:47 +08:00 
			
		
		
		
	optimization install
This commit is contained in:
		| @@ -44,7 +44,7 @@ class V2boardInstall extends Command | |||||||
|             abort(500, 'V2board 已安装,如需重新安装请删除目录下.lock文件'); |             abort(500, 'V2board 已安装,如需重新安装请删除目录下.lock文件'); | ||||||
|         } |         } | ||||||
|         if (!\File::exists(base_path() . '/.env')) { |         if (!\File::exists(base_path() . '/.env')) { | ||||||
|             if (!copy('/.env.example', '.env')) { |             if (!copy(base_path() . '/.env.example', base_path() . '/.env')) { | ||||||
|                 abort(500, '复制环境文件失败,请检查目录权限'); |                 abort(500, '复制环境文件失败,请检查目录权限'); | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user