Skip to content

Commit

Permalink
[BUGFIX] Correctly display the CGI environment in Environment module
Browse files Browse the repository at this point in the history
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 <noreply@typo3.com>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
  • Loading branch information
bmack committed Jan 10, 2020
1 parent 07eea94 commit fdccaac
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -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',
]);
Expand Down

0 comments on commit fdccaac

Please sign in to comment.