Use new style of config sync directory specification

Per https://www.drupal.org/node/3018145

Thanks wolcen!

Ref #109
This commit is contained in:
benjamin melançon 2020-03-20 18:43:12 -04:00
parent 741aa52ce4
commit eeab814df7
2 changed files with 2 additions and 5 deletions

View file

@ -57,11 +57,6 @@ $config['image.settings']['suppress_itok_output'] = TRUE;
$config['image.settings']['allow_insecure_derivatives'] = TRUE;
// This specifies the default configuration sync directory.
if (empty($config_directories[CONFIG_SYNC_DIRECTORY])) {
$config_directories[CONFIG_SYNC_DIRECTORY] = '../config/sync';
}
/**
* Load services definition file.
*/

View file

@ -4,6 +4,8 @@ $settings['locale_custom_strings_en'][] = [
'Sticky at top of lists' => 'Feature on front page',
];
$settings['config_sync_directory'] = '../config/sync';
// #ddev-generated: Automatically generated Drupal settings file.
if (file_exists($app_root . '/' . $site_path . '/settings.ddev.php')) {