1
0
Fork 0

Added $_SERVER['USER'] as possible value for <vendor> part of package name.

pull/6548/head
Ivan Pepelko 2017-07-12 20:00:33 +02:00
parent 17b7387c37
commit 877bad7933
1 changed files with 2 additions and 0 deletions

View File

@ -195,6 +195,8 @@ EOT
$name = $git['github.user'] . '/' . $name;
} elseif (!empty($_SERVER['USERNAME'])) {
$name = $_SERVER['USERNAME'] . '/' . $name;
} elseif (!empty($_SERVER['USER'])) {
$name = $_SERVER['USER'] . '/' . $name;
} elseif (get_current_user()) {
$name = get_current_user() . '/' . $name;
} else {