CodeIgniter Forums

Full Version: site_url() & base_url() not working
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]the_unforgiven[/eluser]
Using 2.1.1 CI version
Code:
<?php echo base_url(); ?>
&
<?php echo site_url(); ?>
Doesn't work for some reason even though i have set it:
Code:
$config['base_url'] = 'http://locahost/mysite/';

Can anyone tell me why this is has 2.0.1 worked!

El Forum

[eluser]the_unforgiven[/eluser]
Sorted relaise after i posted i'd taken away index.php from config and didnt have htaccess so works now!