[TYPO3-core] Introducing a BE rootline cache

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Wed Feb 28 13:06:57 CET 2007


Oliver Hader schrieb:
> Martin Kutschker wrote:
> 
>>Oliver Hader schrieb:
>>
>>>Generally this looks good. But could you please adapt the following:
>>>$cached =& $GLOBALS['T3_VAR']['BEgetRootLine_cache'][$uid][...][...];
>>>if (is_array($cached)) {
>>>    return $cached;
>>>}
>>
>>Oh come on... Any opinions on adapting this alias/shorthand style?
> 
> 
> Hm, perhaps just disable the error_reporting in typo3/init.php and look
> at the results. 

Lot's of notices so I don't really carea bit that one. But I didn' know 
that a mere assignement as references disables the "undefined index" notice.

Masi


More information about the TYPO3-team-core mailing list