Commit 914cbbe9 authored by drumm's avatar drumm Committed by Neil Drumm

Merge branch 'dev-services' of ssh://gitosis@git.aegirproject.org/provision into dev-services

parents 5ce76748 ac3205b5
......@@ -194,7 +194,7 @@ function _provision_drupal_site_installed() {
* because the modules might provide additional information about the site.
*/
function _provision_drupal_create_settings_file() {
$config = new provisionConfig_drupal_settings(drush_get_merged_options());
$config = new provisionConfig_drupal_settings(d()->name);
$config->write();
}
......@@ -204,7 +204,7 @@ class provisionConfig_drupal_settings extends provisionConfig {
protected $mode = 0440;
function filename() {
return $this->data['root'] . '/sites/' . $this->data['uri'] . '/settings.php';
return $this->root . '/sites/' . $this->uri . '/settings.php';
}
function process() {
......
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