[eluser]Tejas D[/eluser]
Hello....
I developed a website using CodeIgniter.
I configure base url as below (for eg):
Code:
$config['base_url'] = 'http://abc.pqr.net/';
Till now website is working fine.
My question is can I set the above base url parameter dynamically depending on user type the address in browser.
eg:
if in browser user type
then I want to set this to base url in config file.