CodeIgniter Automatic Base URL Configuration


/ Published in: PHP
Save to your folder(s)

More info found in the link above, basically, you can replace the $config['base_url'] to the snippet below and you no longer need to set the base url. Useful for making your application more portable.

URL: http://codeigniter.com/wiki/Automatic_configbase_url/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.