[BUGFIX] Show info about default socket 35/49735/5
authorPhilipp Gampe <philipp.gampe@typo3.org>
Thu, 1 Sep 2016 20:40:43 +0000 (22:40 +0200)
committerMorton Jonuschat <m.jonuschat@mojocode.de>
Fri, 2 Sep 2016 21:28:43 +0000 (23:28 +0200)
Restore the information about using the PHP default
socket, if the value for socket is empty.

Change-Id: Ic43d0ebca5cc37c40be28807aed29f28963bed6c
Resolves: #77766
Releases: master
Reviewed-on: https://review.typo3.org/49735
Reviewed-by: Ralf Merz <info@merzilla.de>
Tested-by: Ralf Merz <info@merzilla.de>
Reviewed-by: Morton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: Morton Jonuschat <m.jonuschat@mojocode.de>
typo3/sysext/install/Resources/Private/Partials/Action/Tool/ImportantActions/SystemInformation.html

index e804289..d7e3de2 100644 (file)
                                                        <li><strong>Port:</strong> {connection.port}</li>
                                                </f:then>
                                                <f:else>
-                                                       <li><strong>Socket:</strong> {connection.socket}</li>
+                                                       <li>
+                                                               <strong>Socket:</strong>
+                                                               {f:if(condition:connection.socket, then:connection.socket, else:'<em>PHP default</em>')}
+                                                       </li>
                                                </f:else>
                                        </f:if>
                                        <li><strong>Version:</strong> {connection.version}</li>