Browse Source

Merge pull request #2195 from bendavies/archive-manager-authentication

ArchiveManager IO configuration
Jordi Boggiano 11 years ago
parent
commit
6f8b257997
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/Composer/Factory.php

+ 3 - 1
src/Composer/Factory.php

@@ -342,7 +342,9 @@ class Factory
     public function createArchiveManager(Config $config, Downloader\DownloadManager $dm = null)
     {
         if (null === $dm) {
-            $dm = $this->createDownloadManager(new IO\NullIO(), $config);
+            $io = new IO\NullIO();
+            $io->loadConfiguration($config);
+            $dm = $this->createDownloadManager($io, $config);
         }
 
         $am = new Archiver\ArchiveManager($dm);