From b6fe91d20f55c0188b1700f79692c7a38c08ee9f Mon Sep 17 00:00:00 2001 From: Brienne Kordis Date: Tue, 6 Sep 2022 18:14:23 -0400 Subject: [PATCH] add aliasName to else clasue --- wpAliases.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'];