protected function _set( $config, $path, $value )
	{
		if( ( $current = array_shift( $path ) ) !== null )
		{
			if( isset( $config[$current] ) ) {
				$config[$current] = $this->_set( $config[$current], $path, $value );
			} else {
				$config[$current] = $this->_set( array(), $path, $value );
			}

			return $config;
		}

		return $value;
	}
protected function _set( $config, $path, $value )
	{
		if( ( $current = array_shift( $path ) ) !== null )
		{
			if( isset( $config[$current] ) ) {
				$config[$current] = $this->_set( $config[$current], $path, $value );
			} else {
				$config[$current] = $this->_set( array(), $path, $value );
			}

			return $config;
		}

		return $value;
	}
protected function _set ( $ config , $ path , $ value ) { if ( ( $ current = array_shift ( $ path ) ) !== null ) { if ( isset ( $ config [ $ current ] ) ) { $ config [ $ current ] = $ this -> _set ( $ config [ $ current ] , $ path , $ value ) ; } else { $ config [ $ current ] = $ this -> _set ( array ( ) , $ path , $ value ) ; } return $ config ; } return $ value ; }
Sets a configuration value in the array.

@param array $config Configuration sub-part
@param array $path Configuration path parts
@param array $value The new value
Sets a configuration value in the array .