diff --git a/core/bootstrap.php b/core/bootstrap.php index 7023fb46b..6adb68327 100755 --- a/core/bootstrap.php +++ b/core/bootstrap.php @@ -21,7 +21,7 @@ if (!file_exists(THELIA_CONF_DIR . 'database.yml') && !defined('THELIA_INSTALL_M define('THELIA_INSTALL_MODE', true); } else { $request = \Thelia\Core\HttpFoundation\Request::createFromGlobals(); - header('location: '.$request->getSchemeAndHttpHost() . '/install'); + header('location: '.$request->getUriForPath() . '/install'); exit; } -} \ No newline at end of file +}