]> git.immae.eu Git - github/shaarli/Shaarli.git/commit
Properly handle 404 errors 1553/head
authorArthurHoaro <arthur@hoa.ro>
Sat, 12 Sep 2020 10:42:19 +0000 (12:42 +0200)
committerArthurHoaro <arthur@hoa.ro>
Sat, 12 Sep 2020 10:42:19 +0000 (12:42 +0200)
commitd52ab0b1e99aa0c494f389092dce1e926296032d
tree3a436eedf30cbb8f8b0943c5e5c3b88e49488b69
parente2dff28b44fafcf11a1db7985c50cd40e6945821
Properly handle 404 errors

Use 404 template instead of default Slim error page if the route is not found.

Fixes #827
application/container/ContainerBuilder.php
application/container/ShaarliContainer.php
application/front/controller/visitor/ErrorNotFoundController.php [new file with mode: 0644]
tests/container/ContainerBuilderTest.php
tests/front/controller/visitor/ErrorNotFoundControllerTest.php [new file with mode: 0644]
tests/front/controller/visitor/FrontControllerMockHelper.php