Hi Guys,
After nearly commiting my config.inc.php3 file with passwords and all, like Alex did a little while ago, and Oliver did once before, I decided to remedy the chance of that ever happening again.
I have added a few lines to libraries/common.lib.php3 that look for config.inc.developer.php3 and include it after the normal config.inc.php3 if it exists.
I have also added config.inc.developer.php3 to the .cvsignore, so that nobody ever submits it accidently.
Basically just move your config.inc.php3 to config.inc.developer.php3, and keep the raw CVS version of config.inc.php3 in your tree, and all your settings for testing in the developer version.
I develop in my live copy of PMA (http://sql.orbis-terrarum.net/mysql/) that I present to my customer just because it helps me track down bugs a lot quicker.
Hope this helps you as well.
Robin,
good idea, thanks!
Robin Johnson wrote:
Hi Guys,
After nearly commiting my config.inc.php3 file with passwords and all, like Alex did a little while ago, and Oliver did once before, I decided to remedy the chance of that ever happening again.
I have added a few lines to libraries/common.lib.php3 that look for config.inc.developer.php3 and include it after the normal config.inc.php3 if it exists.