Create generic config and call the file something like 
some_config_file.php.dist. Include it in svn.
Then in each installation copy this file to some_config_file.php,
change params to suit this installation and include this local
config in the code.

Another approach is to have 2 config files:
config.default.php (included svn)
config.local.php (not included in svn)
First include first file, then second: first one will set
all params, second one will override some params if necessary
in this particular installation.

Alexei

On 27/05/2009 12:46, Paul Bennett wrote:
> Hi Person of Undisclosed Name,
>
> <suggestion type="possibly dumb">
> I'm assuming it's mainly config stuff? You could exclude your config
> files (add to svn's ignore list) and then update them manually (sftp /
> ftp) when needed?
> </suggestion>
>
> Brighter minds will undoubtedly have better ideas...
>
> Paul
>
> >

--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to