mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 01:11:46 +08:00 
			
		
		
		
	update
This commit is contained in:
		| @@ -47,7 +47,7 @@ class V2boardInstall extends Command | ||||
|         sleep(2); | ||||
|         \Artisan::call('config:cache'); | ||||
|         DB::connection()->getPdo(); | ||||
|         $file = \File::get(base_path() . '/install.sql'); | ||||
|         $file = \File::get(base_path() . '/database/install.sql'); | ||||
|         if (!$file) { | ||||
|             abort(500, '数据库文件不存在'); | ||||
|         } | ||||
|   | ||||
| @@ -40,7 +40,7 @@ class V2boardUpdate extends Command | ||||
|     { | ||||
|         \Artisan::call('config:cache'); | ||||
|         DB::connection()->getPdo(); | ||||
|         $file = \File::get(base_path() . '/update.sql'); | ||||
|         $file = \File::get(base_path() . '/database/update.sql'); | ||||
|         if (!$file) { | ||||
|             abort(500, '数据库文件不存在'); | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user