1
0
Fork 0

Force "C" locale to prevent issue with turkish "I"

pull/7303/head
Nicolas Grekas 2018-05-02 17:17:22 -07:00
parent 0704cd5142
commit 658685744b
1 changed files with 1 additions and 0 deletions

View File

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