Quellcode durchsuchen

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

Force "C" locale to prevent issue with Turkish "I"
Jordi Boggiano vor 6 Jahren
Ursprung
Commit
a3ed8484be
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      bin/composer

+ 1 - 0
bin/composer

@@ -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;