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

Configuration written to settings.php during install #345

Closed
grasmash opened this issue Aug 31, 2016 · 0 comments
Closed

Configuration written to settings.php during install #345

grasmash opened this issue Aug 31, 2016 · 0 comments
Labels
Bug Something isn't working

Comments

@grasmash
Copy link
Contributor

Due to some very odd behavior in Drupal core, we must use require rather than require_once when including files in settings.php.

If we do not, the imported variable values from the required files will not be available at all stages of the Drupal installation process. This causes $config_directories['sync'] to be empty at an inopportune time, which causes Drupal to write various configuration settings directly to settings.php via drupal_rewrite_settings().

grasmash added a commit to grasmash/bolt that referenced this issue Aug 31, 2016
grasmash added a commit to grasmash/bolt that referenced this issue Aug 31, 2016
grasmash added a commit to grasmash/bolt that referenced this issue Aug 31, 2016
grasmash added a commit to grasmash/bolt that referenced this issue Aug 31, 2016
@grasmash grasmash added the Bug Something isn't working label Sep 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant