[TYPO3-dev] How to handle debug()

Felix Oertel post at typo3felix.de
Thu Oct 15 22:05:31 CEST 2009


Hi everyone,

as I can see, the debug() function in config_default is the one to be 
used by now. It checks for global errorhandling 
($GLOABALS['error']->debug()) and provides a fallback to t3lib_div::debug().

I think it would be a good idea to move debug() into a namespace 
(providing a dummy-function for compatibility reasons) and remove all 
direct usage of t3lib_div::debug() from the code.

I would do that, just wondred what you guys are thinking.

Regards, Felix




More information about the TYPO3-dev mailing list