framework/collections/CConfiguration.php
public function loadFromFile($configFile)
	{
		$data=require($configFile);
		if($this->getCount()>0)
			$this->mergeWith($data);
		else
			$this->copyFrom($data);
	}
public function loadFromFile($configFile)
	{
		$data=require($configFile);
		if($this->getCount()>0)
			$this->mergeWith($data);
		else
			$this->copyFrom($data);
	}
public function loadFromFile ( $ configFile ) { $ data = require ( $ configFile ) ; if ( $ this -> getCount ( ) > 0 ) $ this -> mergeWith ( $ data ) ; else $ this -> copyFrom ( $ data ) ; }
Loads configuration data from a file and merges it with the existing configuration.

A config file must be a PHP script returning a configuration array (like the following)
<pre>
return array
(
'name'=>'My Application',
'defaultController'=>'index',
);
</pre>

@param string $configFile configuration file path (if using relative path, be aware of what is the current path)
@see mergeWith
Loads configuration data from a file and merges it with the existing configuration .