Merge pull request #7303 from nicolas-grekas/c-locale

Force "C" locale to prevent issue with Turkish "I"
main
Jordi Boggiano 6 years ago committed by GitHub
commit a3ed8484be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -5,6 +5,7 @@ if (PHP_SAPI !== 'cli') {
echo 'Warning: Composer should be invoked via the CLI version of PHP, not the '.PHP_SAPI.' SAPI'.PHP_EOL;
}
setlocale(LC_ALL, 'C');
require __DIR__.'/../src/bootstrap.php';
use Composer\Factory;

Loading…
Cancel
Save