load IO configuration
parent
d017e3f209
commit
91d9e91c0a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue