Site does not pull local style settings

1

I use codeigniter in my application.

In the localhost works perfectly. I use a assets folder outside of the Application where it contains all these files.

The code I pull is this:

<link href="<?php echo base_url(); ?>assets/css/bootstrap/bootstrap.css?>" 
   rel="stylesheet" type="text/css"> 

or

 <script src="<?php echo base_url(); ?>assets/js/bootstrap.js?>"></script>

When I upload my hosting, the tabs work (links and etc) but the styles do not come .. Is there something wrong with my code?

    
asked by anonymous 18.04.2016 / 12:45

1 answer

0

Make sure your base_url is pointing to the right path when you uploaded your hosting. No config.php in application / config:

  

$ config ['base_url'] = ' link '

Also check the redirect through your htaccess file

    
18.04.2016 / 16:51