Fix COMPOSER_BINARY env not being set in $_SERVER, refs #9930
parent
30d38679a8
commit
e0366bc760
|
@ -57,7 +57,8 @@ if (function_exists('ini_set')) {
|
|||
unset($memoryLimit);
|
||||
}
|
||||
|
||||
putenv('COMPOSER_BINARY='.realpath($_SERVER['argv'][0]));
|
||||
$_SERVER['COMPOSER_BINARY'] = realpath($_SERVER['argv'][0]);
|
||||
putenv('COMPOSER_BINARY='.$_SERVER['COMPOSER_BINARY']);
|
||||
|
||||
// run the command application
|
||||
$application = new Application();
|
||||
|
|
Loading…
Reference in New Issue