Welcome Guest, Not a member yet? Register   Sign In
site_url() & base_url() not working

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

Can anyone tell me why this is has 2.0.1 worked!

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

Theme © iAndrew 2016 - Forum software by © MyBB