english/libraries/joomla/application/cli.php
/**
	 * Method to load a PHP configuration class file based on convention and return the instantiated data object.  You
	 * will extend this method in child classes to provide configuration data from whatever data source is relevant
	 * for your specific application.
	 *
	 * @return  mixed  Either an array or object to be loaded into the configuration object.
	 *
	 * @since   11.1
	 */
Method to load a PHP configuration class file based on convention and return the instantiated data object.  You
will extend this method in child classes to provide configuration data from whatever data source is relevant
for your specific application.

@return  mixed  Either an array or object to be loaded into the configuration object.


Method to load a PHP configuration class file based on convention and return the instantiated data object . You will extend this method in child classes to provide configuration data from whatever data source is relevant for your specific application . @return mixed Either an array or object to be loaded into the configuration object .
protected function fetchConfigurationData()
	{
		$file = JPATH_BASE.'/configuration.php';
		if (!is_file($file)) {
			return false;
		}
		require_once $file;
		if (!class_exists('JConfig')) {
			return false;
		}
		$config = new JConfig();
		return $config;
	}
protected function fetchConfigurationData ( ) { $ file = JPATH_BASE . '/configuration.php' ; if ( ! is_file ( $ file ) ) { return false ; } require_once $ file ; if ( ! class_exists ( 'JConfig' ) ) { return false ; } $ config = new JConfig ( ) ; return $ config ; }
Method to load a PHP configuration class file based on convention and return the instantiated data object.
Method to load a PHP configuration class file based on convention and return the instantiated data object .
// Set the configuration file name. // Import the configuration file. // Instantiate the configuration object.