Welcome Guest, Not a member yet? Register   Sign In
Mulitple sites, single application
#1

[eluser]Animas[/eluser]
Yes, I can use single CI for multiple apps. But my need is a bit different. I have sites site1.com, site2.com and site3.com. All sites will show same content that means will use same(single) application (parking purpose). But the problem is in app's config.php we need to define $config['base_url']. Can I use multiple $config['base_url'] as below?
Code:
$config['base_url']="http://www.site1.com/";
$config['base_url']="http://www.site2.com/";
$config['base_url']="http://www.site3.com/";


Messages In This Thread
Mulitple sites, single application - by El Forum - 04-25-2008, 06:02 AM
Mulitple sites, single application - by El Forum - 04-25-2008, 06:12 AM
Mulitple sites, single application - by El Forum - 04-25-2008, 10:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB