[TYPO3-core] Fix #11669: Provide a reason for why $TSFE->set_no_cache() has been triggered
Oliver Hader
oliver at typo3.org
Thu Sep 17 20:42:29 CEST 2009
FYI: Committed to SVN Trunk (rev. 5956)
olly
Michael Stucki schrieb:
> This is a SVN patch request.
>
> Type: Feature
>
> Branches: Trunk
>
> Bugtracker reference:
> http://bugs.typo3.org/view.php?id=11669
>
> Problem:
> $TSFE->set_no_cache() uses t3lib_div::sysLog() to log why the caching
> had been disabled.
>
> Currently this is always done by identifying the trigger using a
> backtrace. This is not always helpful, in fact a more precise message
> would be much more helpful.
>
> Solution:
> Introduce a new parameter $reason. It stays optional, so if it's not
> supplied, the old behaviour remains (identify and output the trigger).
>
> Greetings, Michael
--
Oliver Hader
TYPO3 Release Manager 4.3
More information about the TYPO3-team-core
mailing list