1
2.. include:: ../../Includes.txt
3
4========================================================================
5Breaking: #63464 - Remove include_once inclusions inside ModuleFunctions
6========================================================================
7
8See :issue:`63464`
9
10Description
11===========
12
13The functionality to include PHP files within module functions (e.g. info module) via an `include_once` array
14has been removed. The API did not use the include_once array anymore and certain places were marked as deprecated
15since TYPO3 CMS 6.2. All module functions are using the common autoloading functionality via namespaced classes.
16
17The following `include_once` arrays within the following modules have been removed:
18
19* Web => Page
20* Web => Page - New Content Element Wizard
21* Web => Functions
22* Web => Info
23* Web => Template
24* Web => Recycler
25* User => Task Center
26* System => Scheduler
27
28Impact
29======
30
31Any non-API usage of the `include_once` array in any custom module function will fail.
32
33
34Affected installations
35======================
36
37Any installation with an extension using the property `$include_once` to load additional files via direct access instead
38of using the API via `ExtensionManagementUtility::insertModuleFunction()`.
39
40
41Migration
42=========
43
44Use the autoloader to load any custom classes inside your code, or any hooks if available in the custom module functions
45to include any file.
46
47
48.. index:: PHP-API, Backend
49