[TASK] Remove require statements for classes
authorBenjamin Mack <benni@typo3.org>
Sun, 17 Jun 2012 10:04:06 +0000 (12:04 +0200)
committerSteffen Ritter <info@rs-websystems.de>
Thu, 21 Jun 2012 20:06:32 +0000 (22:06 +0200)
commitd5923c9e245e0a1c8ed7b59b21a333b79c3ae89a
tree93523f8f86b4ed11e00c95377f2119bdfda89d72
parenta79a442aa4d39fa496b3083372370657824083b1
[TASK] Remove require statements for classes

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.

Change-Id: I0759d678d42d122e0dc99568e761a05f4b036af4
Resolves: #38131
Reviewed-on: http://review.typo3.org/12142
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
65 files changed:
t3lib/class.t3lib_tceforms_fe.php
t3lib/class.t3lib_tceforms_inline.php
t3lib/core_autoload.php
typo3/ajax.php
typo3/alt_clickmenu.php
typo3/alt_db_navframe.php
typo3/alt_doc.php
typo3/alt_doc_nodoc.php
typo3/alt_file_navframe.php
typo3/alt_shortcut.php
typo3/backend.php
typo3/browse_links.php
typo3/browser.php
typo3/class.browse_links.php
typo3/classes/class.shortcutmenu.php
typo3/classes/class.typo3_tcefile.php
typo3/db_new.php
typo3/dummy.php
typo3/file_edit.php
typo3/file_newfolder.php
typo3/file_rename.php
typo3/file_upload.php
typo3/index.php
typo3/listframe_loader.php
typo3/login_frameset.php
typo3/mod.php
typo3/show_item.php
typo3/show_rechis.php
typo3/sysext/adodb/checkconnectionwizard.php
typo3/sysext/cms/layout/db_layout.php
typo3/sysext/cms/layout/db_new_content_el.php
typo3/sysext/cms/layout/wizard_backend_layout.php
typo3/sysext/cms/tslib/class.tslib_extdirecteid.php
typo3/sysext/cms/web_info/class.tx_cms_webinfo.php
typo3/sysext/filelist/mod1/index.php
typo3/sysext/form/Classes/Controller/Wizard.php
typo3/sysext/func/mod1/index.php
typo3/sysext/impexp/app/index.php
typo3/sysext/impexp/ext_autoload.php
typo3/sysext/indexed_search/mod/index.php
typo3/sysext/info/mod1/index.php
typo3/sysext/lang/hooks/clearcache/class.tx_lang_clearcachemenu.php
typo3/sysext/lowlevel/dbint/cli/cleaner_cli.php
typo3/sysext/opendocs/class.tx_opendocs.php
typo3/sysext/perm/ext_autoload.php [new file with mode: 0644]
typo3/sysext/perm/mod1/index.php
typo3/sysext/recordlist/mod1/index.php
typo3/sysext/rtehtmlarea/mod3/browse_links.php
typo3/sysext/rtehtmlarea/mod3/class.tx_rtehtmlarea_browse_links.php
typo3/sysext/rtehtmlarea/mod4/class.tx_rtehtmlarea_select_image.php
typo3/sysext/rtehtmlarea/mod4/select_image.php
typo3/sysext/rtehtmlarea/mod5/user.php
typo3/sysext/sys_action/task/class.tx_sysaction_task.php
typo3/sysext/t3editor/classes/class.tx_t3editor_hooks_fileedit.php
typo3/tce_db.php
typo3/tce_file.php
typo3/template.php
typo3/wizard_add.php
typo3/wizard_colorpicker.php
typo3/wizard_edit.php
typo3/wizard_forms.php
typo3/wizard_list.php
typo3/wizard_rte.php
typo3/wizard_table.php
typo3/wizard_tsconfig.php