Merge pull request #7303 from nicolas-grekas/c-locale
Force "C" locale to prevent issue with Turkish "I"pull/7316/head
commit
a3ed8484be
|
@ -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;
|
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';
|
require __DIR__.'/../src/bootstrap.php';
|
||||||
|
|
||||||
use Composer\Factory;
|
use Composer\Factory;
|
||||||
|
|
Loading…
Reference in New Issue