[koha-commits] main Koha release repository branch master updated. v16.05.00-1029-g1e6df24
Git repo owner
gitmaster at git.koha-community.org
Thu Oct 13 17:01:14 CEST 2016
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, master has been updated
via 1e6df24d6cbf44c865805712e6a15ecc601273aa (commit)
from 8cb65b367b47ffd9a1a362e7261199fefc3628bb (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 1e6df24d6cbf44c865805712e6a15ecc601273aa
Author: Jesse Weaver <jweaver at bywatersolutions.com>
Date: Fri May 13 16:27:22 2016 -0600
Bug 16520: Allow per-VirtualHost environment variables with Plack
This allows OVERRIDE_SYSPREF_* and others to work properly.
Test plan:
1) Add the following line to your plack.psgi (near the bottom, just
above "mount ..."):
enable "+Koha::Middleware::Plack";
2) Load the OPAC advanced search page (under Plack). The title should
read "Koha online catalog" (or whatever your LibraryName syspref
contains).
3) Add the following to your Apache configuration:
RequestHeader add X-Koha-SetEnv "OVERRIDE_SYSPREF_LibraryName Potato\, Potato"
4) Restart Apache.
5) Refresh. The title should now read "Potato, Potato online catalog".
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Brendan Gallagher <brendan at bywatersolutions.com>
-----------------------------------------------------------------------
Summary of changes:
Koha/Middleware/SetEnv.pm | 122 +++++++++++++++++++++++++++++++++++++++++++
debian/templates/plack.psgi | 5 +-
misc/plack/koha.psgi | 3 ++
3 files changed, 129 insertions(+), 1 deletion(-)
create mode 100644 Koha/Middleware/SetEnv.pm
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list