Breaking: #67987 - Removed entry script handling¶
See forge#67987
Description¶
Definition and handling of constants TYPO3_
and PATH_
have been dropped.
These constants were important for modules that were still not called through the mod.
_DISPATCH
system that was introduced in TYPO3 CMS version 4.2.
It is required to route modules through typo3/
from now on in case the module relies
on the definition of those constants.
The following old entry scripts were removed:
- typo3/sysext/cms/layout/db_layout.php, use
\TYPO3\
to link to the moduleCMS\ Backend\ Utility\ Backend Utility:: get Module Url ('web_ layout') - typo3/sysext/cms/layout/db_new_content_el.php, use
\TYPO3\
to link to the moduleCMS\ Backend\ Utility\ Backend Utility:: get Module Url ('new_ content_ element')
Impact¶
Path resolving may fail for scripts that rely on entry points different from typo3/
Constants TYPO3_
and PATH_
are not defined anymore and scripts may
throw a PHP warning if they try to access these constants.
Affected Installations¶
Installations may fail if linking to modules that use an entry script with a conf.
file that do not
use $MCONF
. Those modules must be adapted to the mod.
entry point and may
need adaption of further references that are defined relative to the entry script.
Searching for extensions with backend modules that define TYPO3_
is a good start to find unwanted usages.