[BUGFIX] Do not use the removed <i:constant> viewhelper anymore 38/62838/3
authorBenni Mack <benni@typo3.org>
Fri, 10 Jan 2020 08:01:23 +0000 (09:01 +0100)
committerAndreas Fernandez <a.fernandez@scripting-base.de>
Fri, 10 Jan 2020 15:23:49 +0000 (16:23 +0100)
In the environment module, the removed <i:constant> viewhelper
is still referenced, which can easily be used by assigning
the proper variable to Fluid.

This change was merged last week due to the TYPO3_version
logic.

Resolves: #90077
Related: #90007
Releases: master
Change-Id: Ie3ccd03b757303e253a71bea26c60406552e3d5e
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/62838
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Guido Schmechel <guido.schmechel@brandung.de>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
typo3/sysext/install/Classes/Controller/EnvironmentController.php
typo3/sysext/install/Resources/Private/Templates/Environment/SystemInformation.html

index 3f92c21..c5a3920 100644 (file)
@@ -72,6 +72,7 @@ class EnvironmentController extends AbstractController
             'systemInformationCgiDetected' => GeneralUtility::isRunningOnCgiServerApi(),
             'systemInformationDatabaseConnections' => $this->getDatabaseConnectionInformation(),
             'systemInformationOperatingSystem' => Environment::isWindows() ? 'Windows' : 'Unix',
+            'phpVersion' => PHP_VERSION,
         ]);
         return new JsonResponse([
             'success' => true,
index 8b625e6..a8242bc 100644 (file)
@@ -8,7 +8,7 @@
     <tr>
         <td>PHP version:</td>
         <td class="text-wrap-allowed">
-            <strong><i:constant name="PHP_VERSION"/></strong>
+            <strong>{phpVersion}</strong>
         </td>
     </tr>
     <tr>