Welcome Guest, Not a member yet? Register   Sign In
Getting feet wet-- couple of "best practice" questions
#5

[eluser]pickupman[/eluser]
site_url function also still works even if you enable or disable having index.php in your url.
Say you have:
http://www.example.com/index.php/controller/method

And switch to:
http://www.example.com/controller/method

site_url takes care of both without changing any code. base_url is good for setting paths to assets.


Messages In This Thread
Getting feet wet-- couple of "best practice" questions - by El Forum - 04-08-2010, 01:24 PM
Getting feet wet-- couple of "best practice" questions - by El Forum - 04-08-2010, 02:35 PM
Getting feet wet-- couple of "best practice" questions - by El Forum - 04-08-2010, 04:13 PM
Getting feet wet-- couple of "best practice" questions - by El Forum - 04-09-2010, 12:40 AM
Getting feet wet-- couple of "best practice" questions - by El Forum - 04-09-2010, 07:11 AM
Getting feet wet-- couple of "best practice" questions - by El Forum - 04-09-2010, 07:48 AM
Getting feet wet-- couple of "best practice" questions - by El Forum - 04-12-2010, 02:17 PM
Getting feet wet-- couple of "best practice" questions - by El Forum - 04-12-2010, 02:37 PM
Getting feet wet-- couple of "best practice" questions - by El Forum - 04-12-2010, 03:28 PM
Getting feet wet-- couple of "best practice" questions - by El Forum - 04-13-2010, 07:11 AM
Getting feet wet-- couple of "best practice" questions - by El Forum - 04-13-2010, 11:10 PM
Getting feet wet-- couple of "best practice" questions - by El Forum - 04-13-2010, 11:49 PM
Getting feet wet-- couple of "best practice" questions - by El Forum - 04-14-2010, 12:37 AM
Getting feet wet-- couple of "best practice" questions - by El Forum - 04-19-2010, 03:48 PM
Getting feet wet-- couple of "best practice" questions - by El Forum - 04-20-2010, 10:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB