Commit c908b90a authored by Jon Pugh's avatar Jon Pugh

Copy settings.php file into place.

parent 06ef5f3c
......@@ -97,7 +97,7 @@ class SiteContext extends ContextSubscriber implements ConfigurationInterface
$tasks['site.prepare'] = $this->getProvision()->newTask()
->success('Prepared directories.')
->success('Prepared directories and settings file.')
->failure('Failed to prepare directories.')
/**
......@@ -172,6 +172,10 @@ class SiteContext extends ContextSubscriber implements ConfigurationInterface
"$path/sites/$uri/private/temp",
"$path/sites/$uri/private/temp",
], $this->getSubscription('http')->service->getProperty('web_group'));
// Copy Drupal's default settings.php file into place.
$this->fs->copy("$path/sites/default/default.settings.php", "$path/sites/$uri/settings.php");
});
$tasks['site.settings'] = $this->getProvision()->newTask()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment