Change default value for mode to FTP_ASCII (in order to have the same default value with the constructor of Ftp.php)

This commit is contained in:
Vincent 2011-12-06 17:21:01 +01:00
parent 9078e8e667
commit 2d0d6d830d

View File

@ -52,7 +52,7 @@ class FtpAdapterFactory implements AdapterFactoryInterface
->scalarNode('password')->defaultNull()->end() ->scalarNode('password')->defaultNull()->end()
->booleanNode('passive')->defaultFalse()->end() ->booleanNode('passive')->defaultFalse()->end()
->booleanNode('create')->defaultFalse()->end() ->booleanNode('create')->defaultFalse()->end()
->scalarNode('mode')->defaultValue(FTP_BINARY)->end() ->scalarNode('mode')->defaultValue(FTP_ASCII)->end()
->end() ->end()
; ;
} }