bug 4122: make WebBasedSelfCheck functional
authorGalen Charlton <gmcharlt@gmail.com>
Wed, 10 Feb 2010 12:11:17 +0000 (07:11 -0500)
committerGalen Charlton <gmcharlt@gmail.com>
Wed, 10 Feb 2010 13:41:50 +0000 (08:41 -0500)
commit13ab69ae08f962760c21ef4c52c3591c766a7fe1
treeb18b3c4636fd214d6df707e9d5b96253f0231495
parent209637695d52771efeb00bf6f46e0bd748f4fcc7
bug 4122: make WebBasedSelfCheck functional

The WebBasedSelfCheck preference is now functional - if a user
tries to use /cgi-bin/koha/sco/sco-main.pl if the preference
is not on, they get redirected to the OPAC home page.

Also, the patron image web service now returns HTTP 403 (forbidden) unless
both WebBasedSelfCheck and ShowPatronImageInWebBasedSelfCheck are on.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
opac/sco/sco-main.pl
opac/sco/sco-patron-image.pl