protected function _createConfiguration($file)
	{
		JLoader::register('JConfig', $file);

		// Create the JConfig object.
		$config = new JConfig;

		// Get the global configuration object.
		$registry = JFactory::getConfig();

		// Load the configuration values into the registry.
		$registry->loadObject($config);

		return $config;
	}
protected function _createConfiguration($file)
	{
		JLoader::register('JConfig', $file);

		// Create the JConfig object.
		$config = new JConfig;

		// Get the global configuration object.
		$registry = JFactory::getConfig();

		// Load the configuration values into the registry.
		$registry->loadObject($config);

		return $config;
	}
protected function _createConfiguration ( $ file ) { JLoader :: register ( 'JConfig' , $ file ) ; // Create the JConfig object. $ config = new JConfig ; // Get the global configuration object. $ registry = JFactory :: getConfig ( ) ; // Load the configuration values into the registry. $ registry -> loadObject ( $ config ) ; return $ config ; }
Create the configuration registry.

@param   string  $file  The path to the configuration file

@return  JConfig  A JConfig object

@since   11.1
@deprecated  4.0
Create the configuration registry .