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)
committerChris Cormack <chrisc@catalyst.net.nz>
Wed, 24 Oct 2012 20:21:02 +0000 (09:21 +1300)
commit45cff3e8dec5d053539ca16b04995a3978648b0f
treecd2f3ea0e4e5a7926cb4e5038a3e482ee934f0cb
parent574a7ac7a86d9da495ffcdca0deecfa619f4f1dc
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>
C4/Auth.pm