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

Support for BACKDROP_SETTINGS as an override for settings.php configuration #281

Closed
quicksketch opened this issue Jul 25, 2014 · 2 comments · Fixed by backdrop/backdrop#553

Comments

@quicksketch
Copy link
Member

This is an issue to track the suggestion made in backdrop/backdrop#60.

There are many different Drupal development and hosting platforms that would like to inject their settings into a Drupal installation without formally writing it to the settings.php.

This pull request allows this through a $_SERVER['BACKDROP_SETTINGS'] value that can be injected in a variety of ways. This is the method we have used at Pantheon to inject our settings for years, but would love for it to be more cleanly supported in Backdrop.

@quicksketch
Copy link
Member Author

The original PR adjusted the $conf variable, which is being replaced with $settings in #280 as part of the CMI conversions. Once we get that in place we can reroll the PR from backdrop/backdrop#60

@quicksketch
Copy link
Member Author

Filed a PR at backdrop/backdrop#553. It's the same in premise as @populist's PR in backdrop/backdrop#60. This PR includes a basic check to see that values are pulled in properly as a simple value in $settings and injected into the $databases array.

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