]> git.koha-community.org Git - koha.git/commit
Bug 19760: Die if koha-conf is not accessible
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 6 Dec 2017 16:58:04 +0000 (13:58 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 19 Jan 2018 09:09:32 +0000 (10:09 +0100)
commitdb7aa4cc3782b01da21e7739c72c77febcb3d527
tree6a3c22580507148d28678e1176a640c4bdd145c0
parentb8b5084b3d911f0cda5d89779449dd3fd0a9256f
Bug 19760: Die if koha-conf is not accessible

We got a lot of support questions because scripts are executed without
the correct environment/user.
We could die and provide more useful information

Tested on my kohadevbox VM by:

1) sudo chmod a-rx /etc/koha/sites/kohadev/koha-conf.xml
2) run help.pl from the command line to produce the desired die message
3) sudo chmod a+rx /etc/koha/sites/kohadev/koha-conf.xml
4) rerun help.pl successfully

Signed-off-by: Jon Knight <J.P.Knight@lboro.ac.uk>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Bug 19760: Change wording

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit be960cc0cda7bb8dbe9a55a3a6e5e1aa0812f006)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/Config.pm