site_url() & base_url() not working - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: site_url() & base_url() not working (/showthread.php?tid=52716) |
site_url() & base_url() not working - El Forum - 06-23-2012 [eluser]the_unforgiven[/eluser] Using 2.1.1 CI version Code: <?php echo base_url(); ?> Code: $config['base_url'] = 'http://locahost/mysite/'; Can anyone tell me why this is has 2.0.1 worked! site_url() & base_url() not working - El Forum - 06-23-2012 [eluser]the_unforgiven[/eluser] Sorted relaise after i posted i'd taken away index.php from config and didnt have htaccess so works now! |