]> git.immae.eu Git - github/shaarli/Shaarli.git/commit
Better handling of plugin incompatibility 1516/head
authorArthurHoaro <arthur@hoa.ro>
Thu, 27 Aug 2020 10:04:36 +0000 (12:04 +0200)
committerArthurHoaro <arthur@hoa.ro>
Thu, 27 Aug 2020 10:04:36 +0000 (12:04 +0200)
commit7e3dc0ba98bf019c2804e5c74fb6061b16fb712f
treef0a333e9e009d78d59c1e4823f766625bc2bb255
parentaf41d5ab5d2bd3ba64d052c997bc6afa6966a63c
Better handling of plugin incompatibility

If a PHP is raised while executing plugin hook, Shaarli will display an error instead of rendering the error page (or just ending in fatal error for default hooks).
Also added phpErrorHandler which is handled differently that regular errorHandler by Slim.:
application/container/ContainerBuilder.php
application/container/ShaarliContainer.php
application/front/controller/visitor/ShaarliVisitorController.php
application/plugin/PluginManager.php
inc/languages/fr/LC_MESSAGES/shaarli.po
tests/PluginManagerTest.php
tests/container/ContainerBuilderTest.php
tests/plugins/test/test.php