[TYPO3-core] Sending correct headers on errors
Thorsten Kahler
thorsten.kahler at dkd.de
Thu Jun 14 11:00:33 CEST 2007
Hi Andreas,
Andreas Otto wrote on 14.06.2007 10:16:
> Hi Dmitry,
>
> Dmitry Dulepov wrote:
>> I would say it should be configurable through install tool with default
>> value set to "503 Server error".
>
> Have a look at the attached patch. There might be situations where 503 is
> not the correct response. To make this configurable we would need to
> introduce more configuration options than just one.
>
the patch looks fine and the error codes seem reasonable to me. So +1 from me.
But looking at the code of tslib_fe::connectToDB() I'd say there's room for
optimization generally: IMO there's no need to double-check the existance of
the constant TYPO3_db.
Regards
Thorsten
More information about the TYPO3-team-core
mailing list