blob: fc6b12748a1b0dd2aaf760c0f0b69b5fce9bc602 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
diff -up ./src/Composer/Factory.php.noxdg ./src/Composer/Factory.php
--- ./src/Composer/Factory.php.noxdg 2021-05-31 15:37:50.548115679 +0200
+++ ./src/Composer/Factory.php 2021-05-31 15:39:05.192882880 +0200
@@ -653,6 +653,10 @@ class Factory
*/
private static function useXdg()
{
+ // As XDG is very patially implemted
+ // resulting in command/code in ~/.config
+ return false;
+
foreach (array_keys($_SERVER) as $key) {
if (strpos($key, 'XDG_') === 0) {
return true;
|