Getting feet wet-- couple of "best practice" questions |
[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. |
Welcome Guest, Not a member yet? Register Sign In |