[eluser]Jeremy Gimbel - Conflux Group[/eluser]
And further, if you're using a library, instead of a controller or model, you won't have direct access to the CodeIgniter instance.
You'll have to use code like this, instead of the standard $this->config->item(...);
Code:
$CI =& get_instance();
$CI->config->item('base_url');