Welcome Guest, Not a member yet? Register   Sign In
odd config problem
#3

[eluser]philm[/eluser]
Hi,

You can easily have a seperate config file, or any other kind of file/folder for that matter, for each environment.

I'm presuming your on a Linux server, just setup the necessary symlinks to the correct file on all the servers.

For example locally you would use:
Quote:ln -s bootstrap.development.php bootstrap.php

On the staging server:
Quote:ln -s bootstrap.staging.php bootstrap.php

And finally on the live server:
Quote:ln -s bootstrap.production.php bootstrap.php

Hope this helps :-)


Messages In This Thread
odd config problem - by El Forum - 10-02-2009, 09:26 AM
odd config problem - by El Forum - 10-02-2009, 10:20 AM
odd config problem - by El Forum - 10-02-2009, 10:21 AM



Theme © iAndrew 2016 - Forum software by © MyBB