DB password variable name is not the same in config.php and autoconfig.php #8537

Closed
joseeantonior opened this Issue May 11, 2014 · 7 comments

Comments

Projects
None yet
6 participants

In the config.php file, the variable name for the DB password is 'dbpassword' but in autoconfig.php it's 'dbpass'.

This may not affect most users, but I've encountered this issue while writing tests against a deployment routine. There's a failover case depending on which stage the deployment is in to look for autoconfig.php, or config.php - this variable is the only denormalized one out of the bunch.

It would be nice to have them normalized so we can parse and evaluate using the same set of logic to reduce code duplication doing the same operation.

Member

karlitschek commented May 11, 2014

@DeepDiver1975 What do you think?

@PVince81 PVince81 added the Bug label May 12, 2014

Owner

DeepDiver1975 commented May 14, 2014

This is basically a known issue - which is properly documented.

But I agree this is kind if unnecessary mandness 😉

pull request to come ....

@DeepDiver1975 DeepDiver1975 self-assigned this May 14, 2014

@DeepDiver1975 You are my new hero.

Member

LukasReschke commented Oct 30, 2014

Member

karlitschek commented Dec 5, 2014

Owner

DeepDiver1975 commented Mar 20, 2015

fixed with #14743

@DeepDiver1975 DeepDiver1975 added this to the 8.1-current milestone Mar 20, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment