From ef1f8a75ac45755cc6d28c21e5be562609f57ae6 Mon Sep 17 00:00:00 2001 From: Gesthispania Date: Thu, 10 Oct 2013 09:58:17 +0200 Subject: [PATCH] Add SSL option to work with modified Gaufrette that use SSL/TSL FTP --- DependencyInjection/Factory/FtpAdapterFactory.php | 1 + 1 file changed, 1 insertion(+) diff --git a/DependencyInjection/Factory/FtpAdapterFactory.php b/DependencyInjection/Factory/FtpAdapterFactory.php index f59b18d..bcac7e8 100644 --- a/DependencyInjection/Factory/FtpAdapterFactory.php +++ b/DependencyInjection/Factory/FtpAdapterFactory.php @@ -52,6 +52,7 @@ class FtpAdapterFactory implements AdapterFactoryInterface ->beforeNormalization() ->ifString() ->then(function($v) { return constant($v); }) + ->booleanNode('ssl')->defaultFalse()->end() ->end() ->end() ;