Merge pull request #8304 from micmania1/patch-12

BUGFIX Installer redirect to home/ (without domain)
This commit is contained in:
Maxime Rainville 2018-08-28 13:47:24 +12:00 committed by GitHub
commit e8261589e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -601,7 +601,7 @@ TEXT;
$token = new ParameterConfirmationToken('flush', new HTTPRequest('GET', '/'));
$params = http_build_query($token->params());
$destinationURL = BASE_URL . '/' . (
$destinationURL = rtrim(BASE_URL, '/') . '/' . (
$this->checkModuleExists('cms')
? "home/successfullyinstalled?$params"
: "?$params"