1
0
Fork 0

Merge branch '1.10'

pull/9278/head
Jordi Boggiano 2020-10-12 10:54:43 +02:00
commit d204eb4814
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 6 additions and 0 deletions

View File

@ -75,6 +75,12 @@ EOT
return parent::run($input, $output);
}
// The COMPOSER env var should not apply to the global execution scope
if (getenv('COMPOSER')) {
putenv('COMPOSER');
unset($_SERVER['COMPOSER']);
}
// change to global dir
$config = Factory::createConfig();
$home = $config->get('home');