1
0
Fork 0

Also load transport options in filesystem repositories to avoid loss from the installed repo, refs #2189

pull/2604/head
Jordi Boggiano 2014-05-07 19:29:59 +02:00
parent faeb706de6
commit e707dcd92f
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ class FilesystemRepository extends WritableArrayRepository
throw new InvalidRepositoryException('Invalid repository data in '.$this->file->getPath().', packages could not be loaded: ['.get_class($e).'] '.$e->getMessage()); throw new InvalidRepositoryException('Invalid repository data in '.$this->file->getPath().', packages could not be loaded: ['.get_class($e).'] '.$e->getMessage());
} }
$loader = new ArrayLoader(); $loader = new ArrayLoader(null, true);
foreach ($packages as $packageData) { foreach ($packages as $packageData) {
$package = $loader->load($packageData); $package = $loader->load($packageData);
$this->addPackage($package); $this->addPackage($package);