Actions
Task #38131
closedRemove require statements for classes
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.
Actions