Bug #21422 » 12429_take3.patch
t3lib/class.t3lib_tstemplate.php (Arbeitskopie) | ||
---|---|---|
$GLOBALS['TYPO3_DB']->sql_free_result($res);
|
||
$this->rootLine[] = $this->absoluteRootLine[$a];
|
||
}
|
||
$this->procesIncludes();
|
||
$this->processIncludes();
|
||
}
|
||
/**
|
||
... | ... | |
array_unshift($this->editorcfg,''.$GLOBALS['TYPO3_CONF_VARS']['FE']['defaultTypoScript_editorcfg']); // Adding default TS/editorcfg
|
||
// Parse the TypoScript code text for include-instructions!
|
||
$this->procesIncludes();
|
||
$this->processIncludes();
|
||
// These vars are also set lateron...
|
||
$this->setup['resources']= $this->resources;
|
||
... | ... | |
/**
|
||
* Searching TypoScript code text (for constants, config (Setup) and editorcfg) for include instructions and does the inclusion if needed.
|
||
* Modifies
|
||
*
|
||
* @return void
|
||
* @deprecated since TYPO3 4.4 - Method name misspelled. Use "processIncludes" instead! This function will be removed in TYPO3 4.6.
|
||
* @see t3lib_TSparser, processIncludes()
|
||
*/
|
||
public function procesIncludes() {
|
||
t3lib_div::logDeprecatedFunction();
|
||
$this->processIncludes();
|
||
}
|
||
/**
|
||
* Searching TypoScript code text (for constants, config (Setup) and editorcfg)
|
||
* for include instructions and does the inclusion of external TypoScript files
|
||
* if needed.
|
||
*
|
||
* @return void
|
||
* @see t3lib_TSparser, generateConfig()
|
||
*/
|
||
function procesIncludes() {
|
||
public function processIncludes() {
|
||
$files = array();
|
||
foreach ($this->constants as &$value) {
|
||
$includeData = t3lib_TSparser::checkIncludeLines($value, 1, true);
|
||
... | ... | |
if (count($files)) {
|
||
$files = array_unique($files);
|
||
foreach ($files as $file) {
|
||
$this->rowSum[] = Array($file, filemtime($file));
|
||
$this->rowSum[] = array($file, filemtime($file));
|
||
}
|
||
}
|
||
}
|
- « Previous
- 1
- 2
- Next »