]> git.koha-community.org Git - koha.git/commit
calculate OPACBaseURL instead of using syspref
authorGalen Charlton <galen.charlton@liblime.com>
Mon, 2 Jun 2008 02:43:30 +0000 (21:43 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Mon, 2 Jun 2008 05:51:08 +0000 (00:51 -0500)
commit5e5ce6b7f9aa188209b0d9f6fd3b4f6e14d490cb
tree4475fc1f76b57253502c1c1cfd78efec4897c9c1
parent28fb7a6c1966e2a77dcd686bb6bfa6c42ff933e7
calculate OPACBaseURL instead of using syspref

Calculate OPACBaseURL from the
CGI environment variables instead of using the
system preference.  As a result of this patch,
it should be possible to change the hostname,
protocol, or port of the OPAC without having to
reset a system preference.

Also added a FIXME to opac/unapi - the URL of
the SRU/W server has no necessary relationship
to the URL of the OPAC.

Once this patch is confirmed, the syspref can
be removed.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/Auth.pm
koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc
koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tmpl
opac/unapi