[TYPO3-core] RFC #9355: Add an error and exception handler (backported from FLOW3)

Oliver Hader oliver at typo3.org
Mon Sep 7 17:39:53 CEST 2009


Hi Oliver,

Oliver Klee schrieb:
> Hi,
> 
> Ingo Renner schrieb:
>>> - In class t3lib_error_ProductionExceptionHandler you (they) use inline
>>> CSS with a few classes, just as in t3lib_error_DebugExceptionHandler.
>>> Why in this later, in different methods, CSS format (color,
>>> background-color, ...) is sometimes hardcoded instead of having a proper
>>> CSS class?
>> I don't know.
> 
> Educated guess (from the experience of my own error handlers): If
> something really is broken, the error handler shouldn't rely on the
> site's CSS or HTML being not broken. So inline styles are a way to make
> sure the styles will be there no matter what.

Good point. Thanks for your input!

olly
-- 
Oliver Hader
TYPO3 Release Manager 4.3


More information about the TYPO3-team-core mailing list