I like your method too, Nathan.
The SVN Ignore is a great tip!
Cool robots in your signature, btw.
On 29/10/2008, at 11:21 AM, Nathan Kennedy wrote:
>
> I use a very similar method:
>
> include_once("../config.php");
> if(file_exists("../config.dev.php")) include_once("../
> config.dev.php");
>
> The reason I chose this is so that you don't need to duplicate data
> from
> config.php into config.dev.php - just the differences (this may
> depend of
> course on your config methods).
>
> I then svn:ignore *.dev.php
>
> Thanks,
> Nathan
> Web Controlled Robot Arm and Beetle
> http://www.kennedytechnology.com
--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---