[TYPO3-core] Fix #11669: Provide a reason for why $TSFE->set_no_cache() has been triggered
Michael Stucki
michael at typo3.org
Fri Aug 7 16:03:15 CEST 2009
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
--
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/
More information about the TYPO3-team-core
mailing list