add aliasName to else clasue
This commit is contained in:
parent
518d82b71d
commit
b6fe91d20f
@ -27,7 +27,7 @@ foreach ($websites as $website) {
|
|||||||
$websiteList[$alias]['ssh'] = $website['server'];
|
$websiteList[$alias]['ssh'] = $website['server'];
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$alias = '@' . $website['client'] . '-' . strtolower($website['env']);
|
$alias = '@' . $aliasName . '-' . strtolower($website['env']);
|
||||||
}
|
}
|
||||||
$websiteList[$alias]['path'] = $website['webroot'];
|
$websiteList[$alias]['path'] = $website['webroot'];
|
||||||
$websiteList[$alias]['url'] = $website['primary_url'];
|
$websiteList[$alias]['url'] = $website['primary_url'];
|
||||||
|
Loading…
Reference in New Issue
Block a user