[TASK] Move entry path existance check in SystemEnvironmentBuilder 86/59386/3
authorChristian Kuhn <lolli@schwarzbu.ch>
Wed, 9 Jan 2019 13:41:30 +0000 (14:41 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Wed, 9 Jan 2019 14:32:41 +0000 (15:32 +0100)
commit9f08a3843bace55ecbfe92fb8a2d36f4501f52bc
tree9c92ea2031609014acb9ddcf6b9084ca46d9486b
parent3b84e6139f2c9e0465ac3d9711f72398ee48f796
[TASK] Move entry path existance check in SystemEnvironmentBuilder

As a preparation to further path related clean ups, the
file existance check of the determined scriptPath must
only be checked if PATH_thisScript is not defined. This
is an edge case that was triggered with my patch for
issue #87247 and fixes unit tests for extensions with
current testing-framework.
Note this is not the final state and more patches to
handle the path mess will follow later.

Resolves: #87378
Related: #87247
Releases: master
Change-Id: I8e3d8524a5d40fe66bdfdbda92a2f18540d9a0d8
Reviewed-on: https://review.typo3.org/59386
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Tested-by: TYPO3com <noreply@typo3.com>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/core/Classes/Core/SystemEnvironmentBuilder.php