CodeIgniter Forums
base_url() doesnt work - 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: base_url() doesnt work (/showthread.php?tid=33365)



base_url() doesnt work - El Forum - 08-24-2010

[eluser]goldensona[/eluser]
Hi

i used base_url for access the jquery files form the root folder it works well in my local machine when i run this same in another machine it doesnt load the file. please help me to solve this issue . thanks

Code:
[removed][removed]



base_url() doesnt work - El Forum - 08-24-2010

[eluser]laegnur[/eluser]
Hello

base_url() returns your site base URL, as specified in your config file. Look if in the new machine, the URL is the same as you have in the config file.


base_url() doesnt work - El Forum - 08-24-2010

[eluser]goldensona[/eluser]
ok thanks for you reply , i forget to change the folder name in htaccess file

thanks