add aliasName to else clasue

This commit is contained in:
Brienne Kordis 2022-09-06 18:14:23 -04:00
parent 518d82b71d
commit b6fe91d20f

View File

@ -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'];