'email' =>
(string) $request->request->
get('config_mail'
),
'host' =>
(string) $_SERVER['HTTP_HOST'
],
'schema' =>
$schema,
'basePath' =>
str_replace('/index.php', '',
(string) $_SERVER['SCRIPT_NAME'
]),
'blueGreenDeployment' =>
(bool) $session->
get(BlueGreenDeploymentService::ENV_NAME
),
];
try { $this->envConfigWriter->
writeConfig($connectionInfo,
$shop);
$this->shopConfigurationService->
updateShop($shop,
$connection);
$this->adminConfigurationService->
createAdmin($adminUser,
$connection);
$session->
remove(DatabaseConnectionInformation::
class);
$session->
set('ADMIN_USER',
$adminUser);
return $this->
redirectToRoute('installer.finish'
);
} catch (\Exception
$e) { $error =
$e->
getMessage();
} } if (!
$request->request->
has('config_shop_language'
)) {