From fdccaace662cbeac6e4c11a88bbc04f9a9a442f8 Mon Sep 17 00:00:00 2001 From: Benni Mack Date: Fri, 10 Jan 2020 08:58:01 +0100 Subject: [PATCH] [BUGFIX] Correctly display the CGI environment in Environment module During the TYPO3 v9 install tool refactoring, a simple PHP array syntax mistake did not correctly set the fluid variable "systemInformationCgiDetected" which always resulted in not running in a CGI environment. The change adapts the array variable assignment. Resolves: #87320 Releases: master, 9.5 Change-Id: I2368ff033a6318d67c9153be20816d13ad8bd08d Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62802 Tested-by: TYPO3com Tested-by: Benni Mack Reviewed-by: Benni Mack --- .../sysext/install/Classes/Controller/EnvironmentController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typo3/sysext/install/Classes/Controller/EnvironmentController.php b/typo3/sysext/install/Classes/Controller/EnvironmentController.php index 7bc6a7d95e94..d6d81a996892 100644 --- a/typo3/sysext/install/Classes/Controller/EnvironmentController.php +++ b/typo3/sysext/install/Classes/Controller/EnvironmentController.php @@ -68,7 +68,7 @@ public function systemInformationGetDataAction(ServerRequestInterface $request): { $view = $this->initializeStandaloneView($request, 'Environment/SystemInformation.html'); $view->assignMultiple([ - 'systemInformationCgiDetected', GeneralUtility::isRunningOnCgiServerApi(), + 'systemInformationCgiDetected' => GeneralUtility::isRunningOnCgiServerApi(), 'systemInformationDatabaseConnections' => $this->getDatabaseConnectionInformation(), 'systemInformationOperatingSystem' => Environment::isWindows() ? 'Windows' : 'Unix', ]);