Task #38131
closedRemove require statements for classes
100%
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.
Updated by Gerrit Code Review over 12 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12142
Updated by Gerrit Code Review over 12 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12142
Updated by Gerrit Code Review over 12 years ago
Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12142
Updated by Gerrit Code Review over 12 years ago
Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12142
Updated by Gerrit Code Review over 12 years ago
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12273
Updated by Steffen Ritter over 12 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Estimated time set to 0.00 h
Applied in changeset 91d3e517c7b62471fdbae1fe11d763666eba8d9e.