kalamuna / drupal-project

Kalamuna composer template for Drupal projects with CircleCI and Pantheon integration. (NOTE: THIS SHOULD NOT BE USED FOR NEW DRUPAL 9 SITES)
GNU General Public License v2.0
6 stars 1 forks source link

Add Pantheon Settings #29

Closed RobLoach closed 4 years ago

RobLoach commented 7 years ago

https://github.com/pantheon-systems/drops-8/blob/master/sites/default/settings.pantheon.php

JohnO did it on k3n: https://github.com/kalamuna/k3n/blob/master/web/sites/default/settings.php

labboy0276 commented 7 years ago

also add this into settings.php

// Pantheon Settings
if (isset($_ENV['PANTHEON_ENVIRONMENT'])) {
  /**
   * Include the Pantheon-specific settings file.
   *
   * n.b. The settings.pantheon.php file makes some changes
   *      that affect all envrionments that this site
   *      exists in.  Always include this file, even in
   *      a local development environment, to insure that
   *      the site settings remain consistent.
   */
  include __DIR__ . "/settings.pantheon.php";
}
mikemccaffrey commented 4 years ago

Fixed in new version. It pulls the pantheon settings from the drops repo.