[TYPO3-core] RFC Feature #9292: Integrate hook at the end of tslib_cObj::getImgResource

Christian Kuhn lolli at schwarzbu.ch
Mon Aug 31 11:28:11 CEST 2009


Hey,

Stefan Geith wrote:
> fine, that this patch is in core now - but sorry, it doesn't work:
> 
> In protected function getGetImgResourceHookObjects() either
>    global $TYPO3_CONF_VARS;
> is missing _or_ you have to use
>    $GLOBALS['TYPO3_CONF_VARS']
> instead of $TYPO3_CONF_VARS.

Args, thanks for pointing this out! Attached a follow-up. Oliver, do you 
want to give it a shot and go ahead with it?


> Isn't that check covered by the unit-test ?

Unfortunatly no. The unit test feeds $this->getImgResourceHookObjects[] 
array and doesn't use getGetImgResourceHookObjects()


Thanks
Christian


More information about the TYPO3-team-core mailing list