Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write to wp-config.php #22

Open
drywall opened this issue Oct 9, 2014 · 2 comments
Open

Write to wp-config.php #22

drywall opened this issue Oct 9, 2014 · 2 comments

Comments

@drywall
Copy link

drywall commented Oct 9, 2014

Just thinking out loud: it might be nice if, instead of ignoring wp-config.php, this tool actually wrote to wp-config.php, updating it with the provided environment's database credentials and URLs (DB_NAME, DB_USER, DB_PASSWORD, DB_HOST, WP_HOME) during a file deploy. Since all that information is already present in-the-clear in the Gruntfile.js, why not provide a way to provide that information to the config file during a deployment?

@Grawl
Copy link

Grawl commented Nov 17, 2014

Completely agree. Good idea.

@herbie4
Copy link

herbie4 commented Jan 6, 2016

I don't think this works for everybody. For me I use different wp-config settings, like switching on or off core updates, on local, staging and final.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants