mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 17:31:49 +08:00 
			
		
		
		
	update: opcache fail abort
This commit is contained in:
		| @@ -147,7 +147,9 @@ class ConfigController extends Controller | ||||
|             abort(500, '修改失败'); | ||||
|         } | ||||
|         if (function_exists('opcache_reset')) { | ||||
|             opcache_reset(); | ||||
|             if (!opcache_reset()) { | ||||
|                 abort(500, '保存失败,请删除或检查opcache状态'); | ||||
|             } | ||||
|         } | ||||
|         \Artisan::call('config:cache'); | ||||
|         return response([ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user