From 18911de7520ad425e2fcb8962c6f71fbe73fbddf Mon Sep 17 00:00:00 2001 From: Sergio Brighenti Date: Thu, 14 May 2020 13:39:54 +0200 Subject: [PATCH] Update index.php --- install/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/index.php b/install/index.php index 662693e..9680efd 100644 --- a/install/index.php +++ b/install/index.php @@ -134,7 +134,7 @@ $app->post('/', function (Request $request, Response $response, \DI\Container $c $config['storage']['key'] = param($request, 'storage_key'); $config['storage']['secret'] = param($request, 'storage_secret'); $config['storage']['region'] = param($request, 'storage_region'); - $config['storage']['endpoint'] = param($request, 'storage_endpoint'); + $config['storage']['endpoint'] = !empty(param($request, 'storage_endpoint')) ? param($request, 'storage_endpoint') : null; $config['storage']['bucket'] = param($request, 'storage_bucket'); $config['storage']['path'] = param($request, 'storage_path'); break;