src/classes/CCConfig.php
public function write( $driver = null ) 
	{	
		if ( empty( $this->_instance_name ) ) 
		{
			throw new CCException("CCConfig::write - configuration name is missing.");
		}
		
		// set the dirver
		if ( !is_null( $driver ) )
		{
			$this->driver( $driver );
		}
		
		// run write
		$this->_driver->write( $this->_instance_name, $this->_data );
	}
public function write( $driver = null ) 
	{	
		if ( empty( $this->_instance_name ) ) 
		{
			throw new CCException("CCConfig::write - configuration name is missing.");
		}
		
		// set the dirver
		if ( !is_null( $driver ) )
		{
			$this->driver( $driver );
		}
		
		// run write
		$this->_driver->write( $this->_instance_name, $this->_data );
	}
public function write ( $ driver = null ) { if ( empty ( $ this -> _instance_name ) ) { throw new CCException ( "CCConfig::write - configuration name is missing." ) ; } // set the dirver if ( ! is_null ( $ driver ) ) { $ this -> driver ( $ driver ) ; } // run write $ this -> _driver -> write ( $ this -> _instance_name , $ this -> _data ) ; }
save a configuration file
this method overwrites your configuration file!!

@param string 	$name
@return bool
save a configuration file this method overwrites your configuration file!!