Welcome Guest, Not a member yet? Register   Sign In
Version Control

[quote author="Eric Barnes" date="1294997252"][quote author="atw" date="1294983772"]@Eric Barnes: How do you, personally, stop your passwords going under VC? Do you tell the VC app to ignore .../config/database.php (via .hgignore et al)?[/quote]

Depends on the site. But here is how I normally do it.

I create a database.orig.php and then add database.php to the ignore list. This way when you create database.php it will never be committed.[/quote]
We use the same method. We rename config.php to config.default.php and database.php to database.default.php and then add conig.php and database.php to .gitignore.

Theme © iAndrew 2016 - Forum software by © MyBB