From 430aafb1ac70ae30391a71879a67e0e94b70fb94 Mon Sep 17 00:00:00 2001 From: Kamil Madejski Date: Wed, 15 Sep 2021 14:33:38 +0200 Subject: [PATCH] Fixed database DSN string generation --- .../bundle/DependencyInjection/EzPlatformCoreExtension.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/EzPlatformCoreBundle/bundle/DependencyInjection/EzPlatformCoreExtension.php b/src/EzPlatformCoreBundle/bundle/DependencyInjection/EzPlatformCoreExtension.php index 794979f..2848ef7 100644 --- a/src/EzPlatformCoreBundle/bundle/DependencyInjection/EzPlatformCoreExtension.php +++ b/src/EzPlatformCoreBundle/bundle/DependencyInjection/EzPlatformCoreExtension.php @@ -209,12 +209,12 @@ private function configurePlatformShSetup(ContainerBuilder $container): void $container->setParameter( 'dfs_database_url', sprintf( - '%s://%s:%s:%d@%s/%s', + '%s://%s:%s@%s:%d/%s', $endpoint['scheme'], $endpoint['username'], $endpoint['password'], - $endpoint['port'], $endpoint['host'], + $endpoint['port'], $endpoint['path'] ) );