Skip to content

Commit

Permalink
fix so that multi site command uses uri argument (#3871)
Browse files Browse the repository at this point in the history
  • Loading branch information
t14 authored and enzolutions committed May 16, 2019
1 parent 039a064 commit 6fe73b3
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 @@ -162,7 +162,7 @@ protected function addToSitesFile($uri)
throw new FileNotFoundException($this->trans('commands.multisite.new.errors.sites-missing'));
}

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

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

0 comments on commit 6fe73b3

Please sign in to comment.