Review main Merged

71102[TASK] Remove Environment::getFrameworkBasePath where easily possible

Helmut Hummel CR +2 V +2 Normal +57 −72 updated 09/21/21, 15:59

Commit message

Environment::getFrameworkBasePath() API was created
under the assumption that TYPO3 core extensions are always installed
in a dedicated but fixed folder (typo3/sysext).

Additionally this folder is assumed to be publicly accessible
through a web server.

Therefore this API is used in two contexts.
1. To resolve and check file system paths
2. To create URLs to public resources

To at some point achieve the goal to allow all TYPO3 extensions
to be installed in arbitrary locations (a configurable
vendor folder), usage of such API must be removed.

As a first step all usages are removed, that reference
files within the boundaries of one extensions.
Relative paths (relative to the file that references) are used
instead, or, where possible EXT: syntax

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 8