blob: 897152737f71232f45df203c9eb9d7ab88cb7251 (
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 2024-04-20 12:34:54.442117723 +0200
+++ ./src/Composer/Factory.php 2024-04-20 12:35:39.497640757 +0200
@@ -680,6 +680,10 @@ class Factory
private static function useXdg(): bool
{
+ // As XDG is very patially implemted
+ // resulting in command/code in ~/.config
+ return false;
+
foreach (array_keys($_SERVER) as $key) {
if (strpos((string) $key, 'XDG_') === 0) {
return true;
|