Skip to content

Commit

Permalink
Fix contents of generated sites.php file (#3179)
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Lenahan committed Mar 16, 2017
1 parent 86df4f8 commit f0871a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Command/Multisite/NewCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ protected function addToSitesFile(DrupalStyle $output, $uri)
throw new FileNotFoundException($this->trans('commands.multisite.new.errors.sites-missing'));
}

$sites_file_contents .= "\n\$sites['$uri'] = '$this->directory';";
$sites_file_contents .= "\n\$sites['$this->directory'] = '$this->directory';";

try {
$this->fs->dumpFile($this->appRoot . '/sites/sites.php', $sites_file_contents);
Expand Down

0 comments on commit f0871a8

Please sign in to comment.