Преглед изворни кода

update help page on global for COMPOSER_HOME info

default installation directory for global packages
has changed since adding support for freedesktop.org standards
per confusion from http://stackoverflow.com/q/38703915/4233593
Jeff Puckett пре 8 година
родитељ
комит
9e7d1a4f9e
1 измењених фајлова са 3 додато и 0 уклоњено
  1. 3 0
      src/Composer/Command/GlobalCommand.php

+ 3 - 0
src/Composer/Command/GlobalCommand.php

@@ -42,6 +42,9 @@ is to add the COMPOSER_HOME/vendor/bin dir to your PATH env var.
 COMPOSER_HOME is c:\Users\<user>\AppData\Roaming\Composer on Windows
 and /home/<user>/.composer on unix systems.
 
+If your system uses freedesktop.org standards, then it will first check
+XDG_CONFIG_HOME or default to /home/<user>/.config/composer
+
 Note: This path may vary depending on customizations to bin-dir in
 composer.json or the environmental variable COMPOSER_BIN_DIR.