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