-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explicitly commit web/sites/default/settings.php
This prevents pantheon-systems/drupal-integrations from scaffolding it and the build step subsequently failing for files modified outside the .gitignore.
- Loading branch information
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?php | ||
|
||
/** | ||
* Load services definition file. | ||
*/ | ||
$settings['container_yamls'][] = __DIR__ . '/services.yml'; | ||
|
||
/** | ||
* Include the Pantheon-specific settings file. | ||
* | ||
* n.b. The settings.pantheon.php file makes some changes | ||
* that affect all environments that this site | ||
* exists in. Always include this file, even in | ||
* a local development environment, to ensure that | ||
* the site settings remain consistent. | ||
*/ | ||
include __DIR__ . "/settings.pantheon.php"; | ||
|
||
/** | ||
* Skipping permissions hardening will make scaffolding | ||
* work better, but will also raise a warning when you | ||
* install Drupal. | ||
* | ||
* https://www.drupal.org/project/drupal/issues/3091285 | ||
*/ | ||
// $settings['skip_permissions_hardening'] = TRUE; | ||
|
||
/** | ||
* If there is a local settings file, then include it | ||
*/ | ||
$local_settings = __DIR__ . "/settings.local.php"; | ||
if (file_exists($local_settings)) { | ||
include $local_settings; | ||
} |