[TYPO3-project-4-3] CGL Exceptions
Martin Kutschker
masi-no at spam-typo3.org
Mon Sep 29 12:21:03 CEST 2008
Steffen Kamper schrieb:
> Hi,
>
> Martin Kutschker schrieb:
>>
>>> Where should this be, one central or extra ones for t3lib / tslib /
>>> backend etc. Anyway i would prefer to have the errorhandlers
>>> implemented, even if they are empty for the start.
>>
>> You'll need different ones. If you want to catch errors and warnings you
>> want to have different output when you are in the FE, BE and CLI. You
>> don't want to have output when you're in an AJAX call or cron job but
>> may want to log the error.
>>
>
> i know, but what i meant is using one file having all the error handlers
> or spreaded.
Of course spreaded or how else should the FE rendering work?
> Initialisation should be in init-script setting the one dependend from
> context, as you already mentioned.
Right. And es every set_error_handler() overwrites the previous it
wouldn't even matter if t3lib would add a dumb default cms would add a
better one later in the code execution.
Masi
More information about the TYPO3-project-4-3
mailing list