[!!!][TASK] Remove entryPointPath from main applications 78/47378/8
authorBenni Mack <benni@typo3.org>
Tue, 29 Mar 2016 13:27:45 +0000 (15:27 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 31 Mar 2016 21:01:55 +0000 (23:01 +0200)
commit88eb5b6848ae5af57bcde05bed6c06a533e62b4f
tree85e9e1b2f18336355f24027798e39d7ed087adfb
parentcc0a4c6ebf511f0512161cd36cb1d5595a88d1b5
[!!!][TASK] Remove entryPointPath from main applications

The entry point path is only used to calculate the number
of levels nested under the PATH_site so the PATH_site
constant can be calculated.

In order to be more flexible with paths, the hard-coded name
"typo3/" is removed and the calculation is based on the
number of subdirectories instead of naming the directories
which are irrelevant.

Resolves: #75323
Releases: master
Change-Id: Ibbad9ed803aaf588d540d19e0c7cd1bdce88d473
Reviewed-on: https://review.typo3.org/47378
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/Console/Application.php
typo3/sysext/backend/Classes/Http/Application.php
typo3/sysext/core/Classes/Console/CommandApplication.php
typo3/sysext/core/Classes/Core/Bootstrap.php
typo3/sysext/core/Classes/Core/SystemEnvironmentBuilder.php
typo3/sysext/core/Documentation/Changelog/master/Breaking-75323-RemovedParameterEntryPointPathFromMainApplications.rst [new file with mode: 0644]
typo3/sysext/core/Tests/Testbase.php
typo3/sysext/core/Tests/Unit/Core/SystemEnvironmentBuilderTest.php
typo3/sysext/frontend/Classes/Http/Application.php
typo3/sysext/install/Classes/Http/Application.php