• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Use base_url for all internal links?

#11
[eluser]Aken[/eluser]
[quote author="tomcode" date="1312261738"]I disagree, using base_url() makes it impossible to work without rewriting the URL, which is be very convenient for developing and testing or special case scenarios.[/quote]
I agree with using base_url() for accessing files / URLs outside of CI. Just saying that if you're not using index.php or some other home modifier, they'll both output the same thing when passed no parameters.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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