Deprecation: #81686 - Accessing core TypoScript with .txt file extension has been deprecated¶
See forge#81686
Description¶
TYPO3 Core TypoScript files were renamed from .txt
extension to .typoscript
and .tsconfig
.
The backward compatibility layer has been introduced for <INCLUDE_
inclusion.
If including file with .txt
does not exist, then TYPO3 will try to load a file with .typoscript
extension.
Impact¶
Installations including Core TypoScript using old file extension will trigger a PHP E_
error.
Migration¶
Rename file name from .txt
to .typoscript
extension.
For example code like:
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:form/Configuration/TypoScript/setup.txt">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:fluid_styled_content/Configuration/TypoScript/constants.txt">
Copied!
should be changed to:
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:form/Configuration/TypoScript/setup.typoscript">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:fluid_styled_content/Configuration/TypoScript/constants.typoscript">
Copied!