Manual:$wgConfigRegistry

Details
Registry of factory functions to create config objects:	Currently only 'GlobalConfig' is available. The 'main' key must be set, and the value should be a valid callable.