[FEATURE] Capture PHP errors in install tool 40/23440/4
authorNicole Cordes <typo3@cordes.co>
Thu, 29 Aug 2013 00:31:09 +0000 (02:31 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Thu, 29 Aug 2013 12:16:40 +0000 (14:16 +0200)
commitb5592ec8c3eeea33e4981541454da9a7074e25df
treee02c2e87ff401e61cb1dea907db82c9da3f3a1b1
parent24b143a70bc7e114c059e996b5c12b4c899856fc
[FEATURE] Capture PHP errors in install tool

Some parts of the install tool can throw fatal PHP errors if
broken extensions are loaded. Currently the database analyzer and
the upgrade wizards are affected by this.

The patch implements a shutdown function that is called even if a
fatal error is thrown and redirects to a special action that renders
the "Check for broken extensions".

Resolves: #51499
Releases: 6.2
Change-Id: Ie64781e59732fb1ef05efd6bd9da1e136241b22e
Reviewed-on: https://review.typo3.org/23440
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
typo3/sysext/install/Classes/Controller/Action/Tool/LoadExtensions.php [new file with mode: 0644]
typo3/sysext/install/Classes/Controller/ToolController.php
typo3/sysext/install/Resources/Private/Templates/Action/Tool/LoadExtensions.html [new file with mode: 0644]