[BUGFIX] Fail with exit code for fatal errors during boot 95/47395/3
authorHelmut Hummel <info@helhum.io>
Sun, 27 Mar 2016 19:38:37 +0000 (21:38 +0200)
committerHelmut Hummel <helmut.hummel@typo3.org>
Wed, 30 Mar 2016 12:52:36 +0000 (14:52 +0200)
commit645423477dd278a29cc9bf68887f9c9340f02111
tree22ce8d8dc06623be82e59c18680dc00ed444b5e6
parent63d3a3d5821db25e7d75c1081a280a1df3e29937
[BUGFIX] Fail with exit code for fatal errors during boot

Especially for CI environments it is crucial that TYPO3
does not exit cleanly when a fatal error occurs.

Change from die (which exits with return code 0) to exit(1)
and send a http error code as well (in web requests)

Releases: master, 7.6
Resolves: #75280
Change-Id: I473de98366a5ea3629d968e2c1600f241b9e73a1
Reviewed-on: https://review.typo3.org/47395
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Helmut Hummel <helmut.hummel@typo3.org>
Tested-by: Helmut Hummel <helmut.hummel@typo3.org>
typo3/sysext/core/Classes/Core/SystemEnvironmentBuilder.php
typo3/sysext/core/Tests/Testbase.php