Welcome Guest, Not a member yet? Register   Sign In
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.




Theme © iAndrew 2016 - Forum software by © MyBB