mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 09:21:46 +08:00 
			
		
		
		
	update: fix opcache return null
This commit is contained in:
		| @@ -152,7 +152,7 @@ class ConfigController extends Controller | |||||||
|             abort(500, '修改失败'); |             abort(500, '修改失败'); | ||||||
|         } |         } | ||||||
|         if (function_exists('opcache_reset')) { |         if (function_exists('opcache_reset')) { | ||||||
|             if (!opcache_reset()) { |             if (opcache_reset() === false) { | ||||||
|                 abort(500, '缓存清除失败,请卸载或检查opcache配置状态'); |                 abort(500, '缓存清除失败,请卸载或检查opcache配置状态'); | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user