Managing Custom Logic in Drupal Multisite with sites.php and settings.php on Cloud IDEs for Multi-Experience Operations
To ensure consistent platform behaviour (reverse proxy, memcache, and so on), add the following line to your settings.php
file after the require for settings.inc:
< php require '/var/acquia/drupal/settings/overrides.php';
You might need to manually add these override files in non-production or development environment. For example, local IDEs.
Sample: /var/acquia/drupal/settings/overrides.php
<?php
if (defined('Drupal::VERSION')) {
require_once '/var/acquia/drupal/settings/overrides-d8+.php';
} elseif (defined('VERSION')) {
if (version_compare(VERSION, '7', '>=')) {
require_once '/var/acquia/drupal/settings/overrides-d7.php';
}
}
Did not find what you were looking for?
If this content did not answer your questions, try searching or contacting our support team for further assistance.