[TYPO3-core] RFC: #15589: Move debug functions to own utility class

Steffen Kamper info at sk-typo3.de
Mon Aug 30 12:58:13 CEST 2010


Hi Dmitry,

Dmitry Dulepov schrieb:
> Hi!
> 
> Steffen Kamper wrote:
>> sry, for any reason the patch didn't included all changed files, here is
>> the correct one.
> 
> I just thought about one thing. Would it be possible that debug() is called
> before the autoloader loads? Than we will get a PHP error.
> 
> I did not test it, just thinking: would it be possible?
> 

yes, this may happen in AJAX mode. It's not the only problem we have in 
this mode, remember the error_handler.
I think this should be handled by init.php, Francois is doing a 
refactor, but i don't know the state of this. We have to ensure that 
autoload works for any mode.

In regular mode this can't happen (AFAIK).

vg Steffen


More information about the TYPO3-team-core mailing list