fuel/fuel/core/classes/image.php
public static function config($index = array(), $value = null)
	{
		if (static::$_instance === null)
		{
			if ($value !== null)
				$index = array($index => $value);
			if (is_array($index))
				static::$_config = array_merge(static::$_config, $index);
			static::instance();
			return static::instance();
		} else {
			return static::instance()->config($index, $value);
		}
	}
public static function config($index = array(), $value = null)
	{
		if (static::$_instance === null)
		{
			if ($value !== null)
				$index = array($index => $value);
			if (is_array($index))
				static::$_config = array_merge(static::$_config, $index);
			static::instance();
			return static::instance();
		} else {
			return static::instance()->config($index, $value);
		}
	}
public static function config ( $ index = array ( ) , $ value = null ) { if ( static :: $ _instance === null ) { if ( $ value !== null ) $ index = array ( $ index => $ value ) ; if ( is_array ( $ index ) ) static :: $ _config = array_merge ( static :: $ _config , $ index ) ; static :: instance ( ) ; return static :: instance ( ) ; } else { return static :: instance ( ) -> config ( $ index , $ value ) ; } }
Used to set configuration options.

Sending the config options through the static reference initalizes the
instance. If you need to send a driver config through the static reference,
make sure its the first one sent! If errors arise, create a new instance using
forge().

@param   array   $config   An array of configuration settings.
@return  Image_Driver
Used to set configuration options .