[BUGFIX] Use correct path variable on Windows 40/54940/2
authorNicole Cordes <typo3@cordes.co>
Wed, 6 Dec 2017 00:19:02 +0000 (01:19 +0100)
committerJigal van Hemert <jigal.van.hemert@typo3.org>
Sun, 10 Dec 2017 22:27:37 +0000 (23:27 +0100)
commitc6a096833912c7ef35febea4776121272a15c59a
tree0bc92f8785528ec2e0c4e4bd0c9fc299c62fd48f
parentd0051f123e597b4f9748648ef7d5de76b9055d2c
[BUGFIX] Use correct path variable on Windows

There is a difference between Apache and CLI exposing global path
configuration on Windows Systems. The CommandUtility uses the global
path to initialize an internal path storage for possible command
resources. The patch ensures both possible keys on Windows systems are
taken into account to resolve possible application locations.

Resolves: #83234
Releases: master, 8.7, 7.6
Change-Id: Id7166042e39c4f468c10c1c489c7fe5beae7a5fc
Reviewed-on: https://review.typo3.org/54940
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
typo3/sysext/core/Classes/Utility/CommandUtility.php