]> git.koha-community.org Git - koha.git/commit
But 8787: don't load the page if OpacMaintenance is ON
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 19 Sep 2012 07:59:59 +0000 (09:59 +0200)
committerPaul Poulain <paul.poulain@biblibre.com>
Wed, 24 Oct 2012 16:15:19 +0000 (18:15 +0200)
commitfd9f025889407bc62c5e979e470d2c01701e0544
treeacc6367d535fd679ffa5971bae3d896b11807c3b
parentb570a76064073da1d67a994977b5516f30daef96
But 8787: don't load the page if OpacMaintenance is ON

If the syspref OpacMaintenance is ON, it is useless to loaded the
requested page.

To test:
- switch on the syspref OpacMaintenace
- check in your apache access log, zebra log, etc. the requested page is
  not loaded (i.e. on the opac-search.pl page)

Signed-off-by: Marc Veron <veron@veron.ch>
Checked by watching  other_vhosts_access.log
Works as expected

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
C4/Auth.pm