• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
site_url() & base_url() not working

#1
[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!

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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.