]> git.evergreen-ils.org Git - Evergreen.git/commit
Physical Location Fixes/Enhancements
authorThomas Berezansky <tsbere@mvlc.org>
Tue, 14 Aug 2012 14:50:11 +0000 (10:50 -0400)
committerDan Scott <dscott@laurentian.ca>
Wed, 15 Aug 2012 15:10:08 +0000 (11:10 -0400)
commit5bade2e39970e296c07d2650ba987b7d3df5145a
treef73d41dca5ef45c10be7ed4013d592d5bf214c44
parent71cf2ffe29c15bbc142554eac787cc64bae37cfa
Physical Location Fixes/Enhancements

Teach the physical location retrieval function about using an ENV var.

This allows a subdomain to force a specific physical location, say by adding
to their apache config:

SetEnv physical_loc 4

Rewriterules could also be used for more dynamic configuration.

Also, as a fix:

Have preferred library use the stored physical location instead of assuming
that CGI has the setting all the time.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader.pm
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm