]> git.immae.eu Git - github/shaarli/Shaarli.git/commit
Display error details even with dev.debug set to false 1627/head
authorArthurHoaro <arthur@hoa.ro>
Thu, 5 Nov 2020 18:45:41 +0000 (19:45 +0100)
committerArthurHoaro <arthur@hoa.ro>
Thu, 5 Nov 2020 18:55:17 +0000 (19:55 +0100)
commitcfdd2094407e61f371c02117c8c66916a6d1d807
tree5f3083c9b8d7078dbb1e9986db4fb7f6f8b6266b
parent48df9f45b8c4b2995c1e04146071628668531b37
Display error details even with dev.debug set to false

It makes more sense to display the error even if it's unexpected.
Only for logged in users.

Fixes #1606
application/front/controller/visitor/ErrorController.php
assets/default/scss/shaarli.scss
inc/languages/fr/LC_MESSAGES/shaarli.po
tests/front/controller/visitor/ErrorControllerTest.php
tpl/default/error.html