Project

General

Profile

Actions

Task #38131

closed

Remove require statements for classes

Added by Benni Mack about 12 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Code Cleanup
Target version:
-
Start date:
2012-06-21
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
TYPO3 Version:
6.0
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Since the autoloader is in place, the require statements for all classes (including template.php) is not necessary. This patch adds the core classes to the autoloader file, and removes all unnecessary require statements.

This change also brings modification with that moves the initialization of $GLOBALS['TBE_TEMPLATE'] from template.php into init.php. This means that TBE_TEMPLATE is always available in the backend now.

One further modification could be to remove the SOBE->include array and calls, as this can be done with the autoloader as well.


Subtasks 1 (0 open1 closed)

Task #38269: Template should be moved to Bootstrap methodClosed2012-06-21

Actions

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #38293: Missing class definitions in core autoloaderClosed2012-06-22

Actions
Actions

Also available in: Atom PDF