1
0
Fork 0

load IO configuration

pull/2195/head
Ben Davies 2013-08-20 15:24:21 +01:00
parent d017e3f209
commit 91d9e91c0a
1 changed files with 3 additions and 1 deletions

View File

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