diff --git a/wpAliases.php b/wpAliases.php index c5858ab..9e4d5a3 100755 --- a/wpAliases.php +++ b/wpAliases.php @@ -27,7 +27,7 @@ foreach ($websites as $website) { $websiteList[$alias]['ssh'] = $website['server']; } else { - $alias = '@' . $website['client'] . '-' . strtolower($website['env']); + $alias = '@' . $aliasName . '-' . strtolower($website['env']); } $websiteList[$alias]['path'] = $website['webroot']; $websiteList[$alias]['url'] = $website['primary_url'];