Feature #20475 ยป 0011148.patch

Administrator Admin, 2009-05-19 18:30

View differences:

t3lib/class.t3lib_foldertree.php (Arbeitskopie)
55 55
 *
56 56
 */
57 57

  
58
require_once (PATH_t3lib.'class.t3lib_treeview.php');
59 58

  
60 59

  
61 60

  
t3lib/class.t3lib_basicfilefunc.php (Arbeitskopie)
67 67
 *
68 68
 */
69 69

  
70
require_once(PATH_t3lib.'class.t3lib_cs.php');
71 70

  
72 71

  
73 72
/**
t3lib/class.t3lib_refindex.php (Arbeitskopie)
60 60
 *
61 61
 */
62 62

  
63
require_once(PATH_t3lib.'class.t3lib_befunc.php');
64
require_once(PATH_t3lib.'class.t3lib_tcemain.php');
65
require_once(PATH_t3lib.'class.t3lib_flexformtools.php');
66
//require_once(PATH_typo3.'sysext/indexed_search/class.lexer.php'); // Disabled until Kasper finishes this feature. Apart from that, t3lib classes should never require stuff from extensions.
67 63

  
68 64

  
69 65

  
t3lib/class.t3lib_syntaxhl.php (Arbeitskopie)
71 71

  
72 72

  
73 73

  
74
require_once(PATH_t3lib.'class.t3lib_parsehtml.php');
75 74

  
76 75

  
77 76
/**
t3lib/class.t3lib_tceforms.php (Arbeitskopie)
181 181

  
182 182

  
183 183

  
184
require_once(PATH_t3lib.'class.t3lib_diff.php');
185
require_once(PATH_t3lib.'class.t3lib_tceforms_inline.php');
186 184

  
187
	/**
188
	 * Frontend version of TCEForms has been moved into its own file and should
189
	 * be included directly by calling scripts.
190
	 */
191
require_once(PATH_t3lib . 'class.t3lib_tceforms_fe.php');
192 185

  
193

  
194 186
/**
195 187
 * 'TCEforms' - Class for creating the backend editing forms.
196 188
 *
t3lib/class.t3lib_svbase.php (Arbeitskopie)
108 108
// define ('T3_ERR_SV_serviceType_myerr, -100); // All errors with prefix T3_ERR_SV_[serviceType]_ and lower than -99 are service type dependent error
109 109

  
110 110

  
111
require_once(PATH_t3lib.'class.t3lib_exec.php');
112 111

  
113 112

  
114 113

  
......
375 374
	function checkExec($progList) {
376 375
		$ret = TRUE;
377 376

  
378
		require_once(PATH_t3lib.'class.t3lib_exec.php');
379

  
380 377
		$progList = t3lib_div::trimExplode(',', $progList, 1);
381 378
		foreach($progList as $prog) {
382 379
			if (!t3lib_exec::checkCommand($prog)) {
t3lib/class.t3lib_sqlengine.php (Arbeitskopie)
89 89

  
90 90

  
91 91

  
92
require_once(PATH_t3lib.'class.t3lib_sqlparser.php');
93 92

  
94 93

  
95 94
/**
t3lib/class.t3lib_pagetree.php (Arbeitskopie)
64 64

  
65 65

  
66 66

  
67
require_once (PATH_t3lib.'class.t3lib_treeview.php');
68 67

  
69 68
/**
70 69
 * Class for generating a page tree.
t3lib/class.t3lib_tsstyleconfig.php (Arbeitskopie)
57 57
 *
58 58
 */
59 59

  
60
require_once(PATH_t3lib.'class.t3lib_tsparser_ext.php');
61 60

  
62 61

  
63 62

  
t3lib/class.t3lib_extmgm.php (Arbeitskopie)
855 855

  
856 856
						// service depends on external programs - check if they exists
857 857
					if(trim($info['exec'])) {
858
						require_once(PATH_t3lib.'class.t3lib_exec.php');
859

  
860 858
						$executables = t3lib_div::trimExplode(',', $info['exec'], 1);
861 859
						foreach($executables as $executable) {
862 860
							if(!t3lib_exec::checkCommand($executable)) {
t3lib/class.t3lib_install.php (Arbeitskopie)
71 71

  
72 72

  
73 73

  
74
require_once(PATH_t3lib.'class.t3lib_sqlparser.php');
75 74

  
76 75
/**
77 76
 * Class to setup values in localconf.php and verify the TYPO3 DB tables/fields
t3lib/class.t3lib_transferdata.php (Arbeitskopie)
73 73
 */
74 74

  
75 75

  
76
require_once (PATH_t3lib.'class.t3lib_loaddbgroup.php');
77
require_once (PATH_t3lib.'class.t3lib_loadmodules.php');
78
require_once (PATH_t3lib.'class.t3lib_parsehtml_proc.php');
79
require_once (PATH_t3lib.'class.t3lib_flexformtools.php');
80 76

  
81 77

  
82 78

  
t3lib/class.t3lib_browsetree.php (Arbeitskopie)
49 49
 *
50 50
 */
51 51

  
52
require_once (PATH_t3lib.'class.t3lib_treeview.php');
53 52

  
54 53

  
55 54

  
t3lib/class.t3lib_tstemplate.php (Arbeitskopie)
80 80
 *
81 81
 */
82 82

  
83
require_once (PATH_t3lib.'class.t3lib_tsparser.php');
84
require_once (PATH_t3lib.'class.t3lib_matchcondition.php');
85 83

  
86 84

  
87 85

  
t3lib/class.t3lib_frontendedit.php (Arbeitskopie)
109 109
		if (($this->isAdminModuleEnabled('edit') && $this->isAdminModuleOpen('edit')) || $GLOBALS['TSFE']->displayEditIcons == 1) {
110 110
			$GLOBALS['TSFE']->includeTCA();
111 111
			if ($this->isEditAction()) {
112
				require_once (PATH_t3lib . 'class.t3lib_tcemain.php');
113 112
				$this->editAction();
114 113
			}
115

  
116
			if ($this->isEditFormShown()) {
117
				require_once(PATH_t3lib . 'class.t3lib_tceforms.php');
118
				require_once(PATH_t3lib . 'class.t3lib_iconworks.php');
119
				require_once(PATH_t3lib . 'class.t3lib_loaddbgroup.php');
120
				require_once(PATH_t3lib . 'class.t3lib_transferdata.php');
121
			}
122 114
		}
123 115

  
124 116
		if ($GLOBALS['TSFE']->forceTemplateParsing || $GLOBALS['TSFE']->displayEditIcons || $GLOBALS['TSFE']->displayFieldEditIcons) {
t3lib/class.t3lib_treeview.php (Arbeitskopie)
98 98

  
99 99

  
100 100

  
101
require_once (PATH_t3lib.'class.t3lib_iconworks.php');
102
require_once (PATH_t3lib.'class.t3lib_befunc.php');
103
require_once (PATH_t3lib.'class.t3lib_div.php');
104 101

  
105 102

  
106 103
/**
t3lib/class.t3lib_softrefproc.php (Arbeitskopie)
94 94
 */
95 95

  
96 96

  
97
require_once(PATH_t3lib.'class.t3lib_parsehtml.php');
98 97

  
99 98
/**
100 99
 * Class for processing of the default soft reference types for CMS:
t3lib/class.t3lib_tceforms_fe.php (Arbeitskopie)
49 49
 * @author	Kasper Skaarhoj <kasperYYYY@typo3.com>
50 50
 */
51 51

  
52
require_once(PATH_t3lib . 'class.t3lib_tceforms.php');
53 52

  
54 53

  
55 54
/**
t3lib/class.t3lib_befunc.php (Arbeitskopie)
171 171
 *
172 172
 */
173 173

  
174
require_once (PATH_t3lib.'class.t3lib_loaddbgroup.php');
175 174

  
176 175

  
177 176
/**
t3lib/class.t3lib_loaddbgroup.php (Arbeitskopie)
62 62

  
63 63

  
64 64

  
65
require_once (PATH_t3lib.'class.t3lib_refindex.php');
66 65

  
67 66

  
68 67

  
t3lib/class.t3lib_cache.php (Arbeitskopie)
22 22
*  This copyright notice MUST APPEAR in all copies of the script!
23 23
***************************************************************/
24 24

  
25
require_once(PATH_t3lib . 'interfaces/interface.t3lib_singleton.php');
26 25

  
27 26
/**
28 27
 * A cache handling helper class
t3lib/class.t3lib_tceforms_inline.php (Arbeitskopie)
88 88
 *
89 89
 */
90 90

  
91
require_once(PATH_t3lib.'class.t3lib_parsehtml.php');
92 91

  
93 92
class t3lib_TCEforms_inline {
94 93

  
......
998 997
		global $SOBE, $BE_USER, $TYPO3_CONF_VARS;
999 998

  
1000 999
		require_once(PATH_typo3.'template.php');
1001
		require_once(PATH_t3lib.'class.t3lib_tceforms.php');
1002
		require_once(PATH_t3lib.'class.t3lib_clipboard.php');
1003 1000

  
1004 1001
		$GLOBALS['LANG']->includeLLFile('EXT:lang/locallang_alt_doc.xml');
1005 1002

  
t3lib/class.t3lib_lock.php (Arbeitskopie)
32 32
 * @author	Michael Stucki <michael@typo3.org>
33 33
 */
34 34

  
35
require_once(PATH_t3lib.'class.t3lib_div.php');
36 35

  
37 36

  
38 37

  
t3lib/class.t3lib_userauthgroup.php (Arbeitskopie)
99 99
 *
100 100
 */
101 101

  
102
	// Need this for parsing User TSconfig
103
require_once (PATH_t3lib.'class.t3lib_tsparser.php');
104 102

  
105 103

  
106 104

  
t3lib/class.t3lib_tcemain.php (Arbeitskopie)
205 205

  
206 206

  
207 207

  
208
// *******************************
209
// Including necessary libraries
210
// *******************************
211
require_once (PATH_t3lib.'class.t3lib_loaddbgroup.php');
212
require_once (PATH_t3lib.'class.t3lib_parsehtml_proc.php');
213
require_once (PATH_t3lib.'class.t3lib_stdgraphic.php');
214
require_once (PATH_t3lib.'class.t3lib_basicfilefunc.php');
215
require_once (PATH_t3lib.'class.t3lib_refindex.php');
216
require_once (PATH_t3lib.'class.t3lib_flexformtools.php');
217 208

  
218 209

  
219 210

  
t3lib/class.t3lib_parsehtml_proc.php (Arbeitskopie)
80 80
 *
81 81
 */
82 82

  
83
require_once (PATH_t3lib.'class.t3lib_parsehtml.php');
84 83

  
85 84

  
86 85

  
t3lib/class.t3lib_tsparser_ext.php (Arbeitskopie)
87 87
 *
88 88
 */
89 89

  
90
require_once(PATH_t3lib.'class.t3lib_tstemplate.php');
91 90

  
92 91

  
93 92

  
t3lib/class.t3lib_extobjbase.php (Arbeitskopie)
112 112
 *
113 113
 * Anyways, the final interesting thing is to see what the framework "func_wizard" actually does:
114 114
 *
115
 * 	require_once(PATH_t3lib."class.t3lib_extobjbase.php");
116 115
 * 	class tx_funcwizards_webfunc extends t3lib_extobjbase {
117 116
 * 		var $localLangFile = "locallang.php";
118 117
 * 		var $function_key = "wiz";
typo3/init.php (Arbeitskopie)
195 195
// Initializing the Caching System
196 196
// ***********************************
197 197

  
198
	// TODO implement autoloading so that we only require stuff we really need
199
require_once(PATH_t3lib . 'class.t3lib_cache.php');
200

  
201
require_once(PATH_t3lib . 'cache/backend/interfaces/interface.t3lib_cache_backend_backend.php');
202
require_once(PATH_t3lib . 'cache/frontend/interfaces/interface.t3lib_cache_frontend_frontend.php');
203

  
204
require_once(PATH_t3lib . 'cache/backend/class.t3lib_cache_backend_abstractbackend.php');
205
require_once(PATH_t3lib . 'cache/frontend/class.t3lib_cache_frontend_abstractfrontend.php');
206
require_once(PATH_t3lib . 'cache/class.t3lib_cache_exception.php');
207
require_once(PATH_t3lib . 'cache/class.t3lib_cache_factory.php');
208
require_once(PATH_t3lib . 'cache/class.t3lib_cache_manager.php');
209
require_once(PATH_t3lib . 'cache/frontend/class.t3lib_cache_frontend_variablefrontend.php');
210

  
211
require_once(PATH_t3lib . 'cache/exception/class.t3lib_cache_exception_classalreadyloaded.php');
212
require_once(PATH_t3lib . 'cache/exception/class.t3lib_cache_exception_duplicateidentifier.php');
213
require_once(PATH_t3lib . 'cache/exception/class.t3lib_cache_exception_invalidbackend.php');
214
require_once(PATH_t3lib . 'cache/exception/class.t3lib_cache_exception_invalidcache.php');
215
require_once(PATH_t3lib . 'cache/exception/class.t3lib_cache_exception_invaliddata.php');
216
require_once(PATH_t3lib . 'cache/exception/class.t3lib_cache_exception_nosuchcache.php');
217

  
218 198
$typo3CacheManager = t3lib_div::makeInstance('t3lib_cache_Manager');
219 199
$typo3CacheFactory = t3lib_div::makeInstance('t3lib_cache_Factory');
220 200
$typo3CacheFactory->setCacheManager($typo3CacheManager);
......
253 233
}
254 234

  
255 235

  
256

  
257
// *********************
258
// Libraries included
259
// *********************
260
require_once(PATH_t3lib.'class.t3lib_userauth.php');
261
require_once(PATH_t3lib.'class.t3lib_userauthgroup.php');
262
require_once(PATH_t3lib.'class.t3lib_beuserauth.php');
263
require_once(PATH_t3lib.'class.t3lib_iconworks.php');
264
require_once(PATH_t3lib.'class.t3lib_befunc.php');
265
require_once(PATH_t3lib.'class.t3lib_cs.php');
266

  
267 236
// **********************
268 237
// Check Hardcoded lock on BE:
269 238
// **********************
typo3/sysext/cms/tslib/class.tslib_fe.php (Arbeitskopie)
591 591
	 ********************************************/
592 592

  
593 593
	/**
594
	 * Include files necessary for the TYPO3 caching framework. This method will
595
	 * go away when autoloading is implemented.
596
	 *
597
	 * @return	void
598
	 */
599
	protected function includeCaches() {
600
		$GLOBALS['TT']->push('Including the Caching System','');
601

  
602
		t3lib_div::requireOnce(PATH_t3lib . 'class.t3lib_cache.php');
603

  
604
		t3lib_div::requireOnce(PATH_t3lib . 'cache/backend/interfaces/interface.t3lib_cache_backend_backend.php');
605
		t3lib_div::requireOnce(PATH_t3lib . 'cache/frontend/interfaces/interface.t3lib_cache_frontend_frontend.php');
606

  
607
		t3lib_div::requireOnce(PATH_t3lib . 'cache/backend/class.t3lib_cache_backend_abstractbackend.php');
608
		t3lib_div::requireOnce(PATH_t3lib . 'cache/frontend/class.t3lib_cache_frontend_abstractfrontend.php');
609
		t3lib_div::requireOnce(PATH_t3lib . 'cache/class.t3lib_cache_exception.php');
610
		t3lib_div::requireOnce(PATH_t3lib . 'cache/class.t3lib_cache_factory.php');
611
		t3lib_div::requireOnce(PATH_t3lib . 'cache/class.t3lib_cache_manager.php');
612
		t3lib_div::requireOnce(PATH_t3lib . 'cache/frontend/class.t3lib_cache_frontend_variablefrontend.php');
613

  
614
		t3lib_div::requireOnce(PATH_t3lib . 'cache/exception/class.t3lib_cache_exception_classalreadyloaded.php');
615
		t3lib_div::requireOnce(PATH_t3lib . 'cache/exception/class.t3lib_cache_exception_duplicateidentifier.php');
616
		t3lib_div::requireOnce(PATH_t3lib . 'cache/exception/class.t3lib_cache_exception_invalidbackend.php');
617
		t3lib_div::requireOnce(PATH_t3lib . 'cache/exception/class.t3lib_cache_exception_invalidcache.php');
618
		t3lib_div::requireOnce(PATH_t3lib . 'cache/exception/class.t3lib_cache_exception_invaliddata.php');
619
		t3lib_div::requireOnce(PATH_t3lib . 'cache/exception/class.t3lib_cache_exception_nosuchcache.php');
620

  
621
		$GLOBALS['TT']->pull();
622
	}
623

  
624
	/**
625 594
	 * Initializes the caching system.
626 595
	 *
627 596
	 * @return	void
628 597
	 */
629 598
	protected function initCaches() {
630
		$this->includeCaches();
631

  
632 599
		$GLOBALS['TT']->push('Initializing the Caching System','');
633 600

  
634 601
		$GLOBALS['typo3CacheManager'] = t3lib_div::makeInstance('t3lib_cache_Manager');
typo3/sysext/cms/tslib/class.tslib_pagegen.php (Arbeitskopie)
972 972

  
973 973

  
974 974

  
975
// ********************************************************
976
// Includes the search-class if $sword and $scols are set.
977
// ********************************************************
978
if (t3lib_div::_GP('sword') && t3lib_div::_GP('scols'))	{
979
	require_once(PATH_tslib.'class.tslib_search.php');
980
}
981

  
982
// ************
983
// LoadDBGroup
984
// ************
985
require_once (PATH_t3lib.'class.t3lib_loaddbgroup.php');
986

  
987 975
/**
988 976
 * Class for fetching record relations for the frontend.
989 977
 *
......
996 984
	var $fromTC = 0;	// Means that everything is returned instead of only uid and label-field
997 985
}
998 986

  
999
// **********************************
1000
// includes stuff for graphical work
1001
// **********************************
1002
require_once(PATH_t3lib.'class.t3lib_stdgraphic.php');
1003
require_once(PATH_tslib.'class.tslib_gifbuilder.php');
1004

  
1005
// *************************
1006
// includes menu-management
1007
// *************************
1008
require_once(PATH_tslib.'class.tslib_menu.php');
1009

  
1010
// *************************
1011
// Global content object...
1012
// *************************
1013
require_once(PATH_tslib.'class.tslib_content.php');
1014

  
1015 987
?>
typo3/sysext/cms/tslib/index_ts.php (Arbeitskopie)
161 161
		// Remove any output produced until now
162 162
		ob_clean();
163 163

  
164
		require_once(PATH_tslib.'class.tslib_eidtools.php');
165 164
		require($classPath);
166 165
	}
167 166
	exit;
168 167
}
169 168

  
170
// *********************
171
// Libraries included
172
// *********************
173
$TT->push('Include Frontend libraries','');
174
	require_once(PATH_tslib.'class.tslib_fe.php');
175
	require_once(PATH_t3lib.'class.t3lib_page.php');
176
	require_once(PATH_t3lib.'class.t3lib_userauth.php');
177
	require_once(PATH_tslib.'class.tslib_feuserauth.php');
178
	require_once(PATH_t3lib.'class.t3lib_tstemplate.php');
179
	require_once(PATH_t3lib.'class.t3lib_cs.php');
180
$TT->pull();
181 169

  
182 170
// ***********************************
183 171
// Create $TSFE object (TSFE = TypoScript Front End)
......
231 219
		// Prevent errors if ini_set() is unavailable (safe mode)
232 220
		@ini_set('zlib.output_compression_level', $TYPO3_CONF_VARS['FE']['compressionLevel']);
233 221
	}
234
	require_once(PATH_tslib . 'class.tslib_fecompression.php');
235 222
	ob_start(array(t3lib_div::makeInstance('tslib_fecompression'), 'compressionOutputHandler'));
236 223
}
237 224

  
......
404 391
// *******************************
405 392
switch($TSFE->checkDataSubmission())	{
406 393
	case 'email':
407
		require_once(PATH_t3lib.'class.t3lib_htmlmail.php');
408
		require_once(PATH_t3lib.'class.t3lib_formmail.php');
409 394
		$TSFE->sendFormmail();
410 395
	break;
411 396
	case 'fe_tce':
412
		require_once(PATH_tslib.'class.tslib_fetce.php');
413 397
		$TSFE->includeTCA();
414 398
		$TT->push('fe_tce','');
415 399
		$TSFE->fe_tce();
......
424 408
$TSFE->setUrlIdToken();
425 409

  
426 410
$TT->push('Page generation','');
427
	if ($TSFE->doXHTML_cleaning()) {
428
		require_once(PATH_t3lib.'class.t3lib_parsehtml.php');
429
	}
430 411
	if ($TSFE->isGeneratePage()) {
431 412
		$TSFE->generatePage_preProcessing();
432 413
		$temp_theScript=$TSFE->generatePage_whichScript();
......
434 415
		if ($temp_theScript) {
435 416
			include($temp_theScript);
436 417
		} else {
437
			require_once(PATH_tslib.'class.tslib_pagegen.php');
438 418
			include(PATH_tslib.'pagegen.php');
439 419
		}
440 420
		$TSFE->generatePage_postProcessing();
441 421
	} elseif ($TSFE->isINTincScript()) {
442
		require_once(PATH_tslib.'class.tslib_pagegen.php');
443 422
		include(PATH_tslib.'pagegen.php');
444 423
	}
445 424
$TT->pull();
    (1-1/1)