Deprecation: #78193 - ExtensionManagementUtility::extRelPath()
See forge#78193
Description
The method
Extension
for resolving paths relative to the current script has been marked as deprecated.
Impact
Calling
Extension
will trigger a deprecation log entry.
Affected Installations
Any TYPO3 instance with extensions or third-party scripts resolving paths with the method above.
Migration
Use alternatives for resolving paths. There are the following methods available:
Extension
- to resolve the full path of an extensionManagement Utility:: ext Path () Extension
- to resolve the location of an extension relative toManagement Utility:: site Rel Path () PATH_
site General
- to resolve a file/path prefixed withUtility:: get File Abs File Name () EXT:
myext Path
- used for output a file location (previously resolved withUtility:: get Absolute Web Path () General
) that is absolutely prefixed for the web folderUtility:: get File Abs File Name ()