diff --git a/web/sites/default/config/.htaccess b/config/.htaccess similarity index 100% rename from web/sites/default/config/.htaccess rename to config/.htaccess diff --git a/web/sites/default/config/README.txt b/config/README.txt similarity index 100% rename from web/sites/default/config/README.txt rename to config/README.txt diff --git a/web/sites/default/settings.php b/web/sites/default/settings.php index b8a28810c..25505ac39 100644 --- a/web/sites/default/settings.php +++ b/web/sites/default/settings.php @@ -16,6 +16,15 @@ $settings['container_yamls'][] = __DIR__ . '/services.yml'; */ include __DIR__ . "/settings.pantheon.php"; +$settings['install_profile'] = 'standard'; + +/** + * Place the config directory outside of the Drupal root. + */ +$config_directories = array( + CONFIG_SYNC_DIRECTORY => dirname(DRUPAL_ROOT) . '/config', +); + /** * If there is a local settings file, then include it */ @@ -23,4 +32,3 @@ $local_settings = __DIR__ . "/settings.local.php"; if (file_exists($local_settings)) { include $local_settings; } -$settings['install_profile'] = 'standard';