base_url() for everything?

#3
[eluser]universal_serial_bus[/eluser]
Thanks, that's a good solution, but finally I've used base_url() everywere...

For js files, I've a js named settings.js with just this parameter:

var settings = { 'base_url' : 'www.example.com'};

And I use this javascript "base_url" to do the same that CI base_url() function.


Messages In This Thread
base_url() for everything? - by El Forum - 09-06-2010, 08:54 AM
base_url() for everything? - by El Forum - 09-06-2010, 10:31 AM
base_url() for everything? - by El Forum - 09-06-2010, 10:40 AM
base_url() for everything? - by El Forum - 09-06-2010, 11:00 AM
base_url() for everything? - by El Forum - 09-06-2010, 05:36 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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