Commit 5f147d21 authored by Helmut Hummel's avatar Helmut Hummel Committed by Benni Mack
Browse files

[FOLLOWUP][TASK] Cleanup bootstrap

Redirect does not work as the application proceeds
and throws an exception even after sending the header.

Die after setting the redirect header to fix this.

Releases: master
Resolves: #67645
Change-Id: I90adcfa4f2f29bbfdb63cc8cf1288879eee5ae78
Reviewed-on: http://review.typo3.org/41357


Reviewed-by: Wouter Wolters's avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters's avatarWouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Benni Mack's avatarBenjamin Mack <benni@typo3.org>
Tested-by: Benni Mack's avatarBenjamin Mack <benni@typo3.org>
parent e86ff0c1
......@@ -225,6 +225,7 @@ class Bootstrap {
public function redirectToInstallTool($relativePathPart = '') {
$backPathToSiteRoot = str_repeat('../', count(explode('/', $relativePathPart)) - 1);
header('Location: ' . $backPathToSiteRoot . 'typo3/sysext/install/Start/Install.php');
die;
}
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment