[eluser]thinkigniter[/eluser]
Maybe this will help clear things up?
In your helper or library...
Code:
$CI =& get_instance();
$CI->load->helper('url');
$CI->load->library('session');
$CI->config->item('base_url');
etc. etc.
read
this for a more info
Hope this helps