]> 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)
committerLiz Rea - Catalyst <liz@catalyst.net.nz>
Sun, 18 Nov 2012 22:31:30 +0000 (11:31 +1300)
commit202a2c43817a2f0c6039c43ca1f0edd2dc4a72f2
treeae10ff71c56b8525ae57a06503ce4780963739b1
parentb6ad71796481d11367018e5abca9f1c2af830f62
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>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Liz Rea - Catalyst <liz@catalyst.net.nz>
C4/Auth.pm