---
title: "Breaking: #67987 - Removed entry script handling"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:breaking-67987"
source: "Changelog/7.4/Breaking-67987-RemovedEntryScriptHandling.rst"
modified: "2026-09-15T10:46:36+00:00"
---

# Breaking: #67987 - Removed entry script handling

See [forge#67987](https://forge.typo3.org/issues/67987)

## Description

Definition and handling of constants `TYPO3_MOD_PATH` and `PATH_typo3_mod` have been dropped.
These constants were important for modules that were still not called through the `mod.php`
`_DISPATCH` system that was introduced in TYPO3 CMS version 4.2.
It is required to route modules through `typo3/mod.php` 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 `TYPO3CMSBackendUtilityBackendUtility::getModuleUrl('web_layout')` to link to the module
-   typo3/sysext/cms/layout/db_new_content_el.php, use `TYPO3CMSBackendUtilityBackendUtility::getModuleUrl('new_content_element')` to link to the module

## Impact

Path resolving may fail for scripts that rely on entry points different from `typo3/mod.php`
Constants `TYPO3_MOD_PATH` and `PATH_typo3_mod` 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.php` file that do not
use `$MCONF['script'] = '_DISPATCH';`. Those modules must be adapted to the `mod.php` 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_MOD_PATH` is a good start to find unwanted usages.
