I have the following directory structure of Codeigniter Folder. You can see that I have put all my assets in the assets folder at the root of the application.>
You want to pass the URL string to the base_url function. This way, you can change $config['base_url'] to whatever you want and it will append the string to that URL properly.