From: Vincent Vanwaelscappel Date: Wed, 12 Feb 2025 11:08:30 +0000 (+0100) Subject: wip #7328 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=e987275a767713b6ce9580d81cbd4df74b768fe1;p=fluidbook-toolbox.git wip #7328 @0.5 --- diff --git a/app/Models/FluidbookExternalInstallServer.php b/app/Models/FluidbookExternalInstallServer.php index e0ebf987e..d69d9609a 100644 --- a/app/Models/FluidbookExternalInstallServer.php +++ b/app/Models/FluidbookExternalInstallServer.php @@ -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);