Skip to content
Snippets Groups Projects
Commit 7d028572 authored by jurgenhaas's avatar jurgenhaas
Browse files

docker/l3d#58 Move project settings out of composer.json

parent 360c9915
Branches
No related tags found
No related merge requests found
......@@ -73,6 +73,7 @@ class Handler extends BaseHandler {
$drupalCorePackage = $this->getDrupalCorePackage();
$corePath = $installationManager->getInstallPath($drupalCorePackage);
$this->config->setValue('drupal8', version_compare($drupalCorePackage->getVersion(), '9.0.0', '<='));
// Directory where the root project is being created.
$projectRoot = getcwd();
......
......@@ -15,6 +15,11 @@ $databases = array (
),
);
{% drupal8 %}
$config_directories['sync'] = 'sites/default/files/config/sync';
{% else %}
$settings["config_sync_directory"] = 'sites/default/files/config/sync';
{% endif %}
$settings['update_free_access'] = FALSE;
$settings['container_yamls'][] = __DIR__ . '/services.yml';
$settings['file_public_path'] = 'sites/default/files';
......@@ -25,8 +30,6 @@ $settings['trusted_host_patterns'] = array(
'^{{ domain }}$',
);
$config_directories['sync'] = 'sites/default/files/config/sync';
if (file_exists(__DIR__ . '/settings.local.php')) {
include __DIR__ . '/settings.local.php';
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment