Added $_SERVER['USER'] as possible value for <vendor> part of package name.
parent
17b7387c37
commit
877bad7933
|
@ -195,6 +195,8 @@ EOT
|
||||||
$name = $git['github.user'] . '/' . $name;
|
$name = $git['github.user'] . '/' . $name;
|
||||||
} elseif (!empty($_SERVER['USERNAME'])) {
|
} elseif (!empty($_SERVER['USERNAME'])) {
|
||||||
$name = $_SERVER['USERNAME'] . '/' . $name;
|
$name = $_SERVER['USERNAME'] . '/' . $name;
|
||||||
|
} elseif (!empty($_SERVER['USER'])) {
|
||||||
|
$name = $_SERVER['USER'] . '/' . $name;
|
||||||
} elseif (get_current_user()) {
|
} elseif (get_current_user()) {
|
||||||
$name = get_current_user() . '/' . $name;
|
$name = get_current_user() . '/' . $name;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue