[FOLLOWUP][TASK] Cleanup bootstrap 91/40491/2
authorBenjamin Mack <benni@typo3.org>
Sat, 20 Jun 2015 15:14:54 +0000 (17:14 +0200)
committerMathias Schreiber <mathias.schreiber@wmdb.de>
Sat, 20 Jun 2015 15:24:22 +0000 (17:24 +0200)
Due to the HttpUtility resolving of absolute URLs
the redirect to the install tool did not work anymore.

Resolves: #67645
Releases: master
Change-Id: Ice49e2ad25221cfdf69d4b84b54a95633bd5df21
Reviewed-on: http://review.typo3.org/40491
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Thorsten Griebenow <tgr@starfinanz.de>
Reviewed-by: Thorsten Griebenow <tgr@starfinanz.de>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
typo3/sysext/core/Classes/Core/Bootstrap.php

index 9c99aff..ffb2e6c 100644 (file)
@@ -251,7 +251,7 @@ class Bootstrap {
         */
        public function redirectToInstallTool($relativePathPart = '') {
                $backPathToSiteRoot = str_repeat('../', count(explode('/', $relativePathPart)) - 1);
-               Utility\HttpUtility::redirect($backPathToSiteRoot . 'typo3/sysext/install/Start/Install.php');
+               header('Location: ' . $backPathToSiteRoot . 'typo3/sysext/install/Start/Install.php');
        }
 
        /**