[TYPO3-core] RFC #9094: Make simulate static a system extension
Benjamin Mack
benni at typo3.org
Fri Aug 15 20:16:01 CEST 2008
Hey Masi,
Martin Kutschker wrote:
> Me too. But I think this should be done in a separate patch called
> "allow subkeys in config". I don't want to add this to this patch and
> without this change this patch is broken as page.config. doesn't work as
> advertised.
Can you point me to the place where this happens?
I noticed the lines (2025ff in class.tslib_fe.php) that do this:
======================
$this->config['config']=Array();
// Filling the config-array.
if (is_array($this->tmpl->setup['config.'])) {
$this->config['config'] = $this->tmpl->setup['config.'];
}
if (is_array($this->pSetup['config.'])) {
reset($this->pSetup['config.']);
while(list($theK,$theV)=each($this->pSetup['config.'])) {
$this->config['config'][$theK] = $theV;
}
}
======================
seems like it's merging everything, ain't it?
--
greetings,
benni.
-SDG-
More information about the TYPO3-team-core
mailing list