Fixed definition of ftp adapter.

This commit is contained in:
l3l0 2012-11-20 10:15:40 +01:00
parent 4370da0ad4
commit 2a505d1b30

View File

@ -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'])
; ;
} }