1
0
Fork 0

Send source instead of @package_version@ for the composer version in UA

pull/1191/merge
Jordi Boggiano 2012-10-19 10:50:28 +02:00
parent 5051e7a0a2
commit 73aea05907
1 changed files with 1 additions and 1 deletions

View File

@ -262,7 +262,7 @@ class RemoteFilesystem
{
$header = sprintf(
"User-Agent: Composer/%s (%s; %s; PHP %s.%s.%s)\r\n",
Composer::VERSION,
Composer::VERSION === '@package_version@' ? 'source' : Composer::VERSION,
php_uname('s'),
php_uname('r'),
PHP_MAJOR_VERSION,