]> _ Git - fluidbook-toolbox.git/commitdiff
wip #7328 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 12 Feb 2025 11:08:30 +0000 (12:08 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 12 Feb 2025 11:08:30 +0000 (12:08 +0100)
app/Models/FluidbookExternalInstallServer.php

index e0ebf987e8d666db560cfa020b5897b8f04ff227..d69d9609a70868186813b08ce9212ad6a2b1d4f5 100644 (file)
@@ -143,7 +143,15 @@ class FluidbookExternalInstallServer extends ExternalServer
 
     public function getProtocols()
     {
-        return ['FTP' => __('FTP non sécurisé'), 'SFTP' => 'SFTP', 'hosting' => 'Hosting', 'hosting2' => 'Hosting #2', 'ushosting' => 'US Hosting', 'S3' => __('Amazon S3') . ' (' . __('et solutions compatibles') . ')'];
+        return [
+            'FTP' => __('FTP non sécurisé'),
+            'FTPES' => 'FTPES (' . __('FTP sécurisé explicitement') . ')',
+            'SFTP' => 'SFTP',
+            'hosting' => 'Hosting',
+            'hosting2' => 'Hosting #2',
+            'ushosting' => 'US Hosting',
+            'S3' => __('Amazon S3') . ' (' . __('et solutions compatibles') . ')'
+        ];
     }
 
     protected static function getHostingProtocols()
@@ -200,6 +208,7 @@ class FluidbookExternalInstallServer extends ExternalServer
             return ['error' => true, 'message' => __('Un ou plusieurs champs sont invalides') . ': ' . implode(', ', array_keys($validator->errors()->toArray()))];
         }
 
+
         $server = new static();
         $server->setRawAttributes($data);