Fixed definition of ftp adapter.
This commit is contained in:
parent
4370da0ad4
commit
2a505d1b30
|
@ -21,12 +21,7 @@ class FtpAdapterFactory implements AdapterFactoryInterface
|
||||||
->setDefinition($id, new DefinitionDecorator('knp_gaufrette.adapter.ftp'))
|
->setDefinition($id, new DefinitionDecorator('knp_gaufrette.adapter.ftp'))
|
||||||
->addArgument($config['directory'])
|
->addArgument($config['directory'])
|
||||||
->addArgument($config['host'])
|
->addArgument($config['host'])
|
||||||
->addArgument($config['username'])
|
->addArgument($config)
|
||||||
->addArgument($config['password'])
|
|
||||||
->addArgument($config['port'])
|
|
||||||
->addArgument($config['passive'])
|
|
||||||
->addArgument($config['create'])
|
|
||||||
->addArgument($config['mode'])
|
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user