not sure if this will help but try it - go to your config file and make base url blank
$config['base_url'] = '';
go to the main index.php and look for
* -------------------------------------------------------------------
* CUSTOM CONFIG VALUES
then insert this with your url
$assign_to_config['base_url'] = 'http://yourdomain.com';
you should then be able to use base_url()