OPACBaseURL - do not tack on :443 if using SSL
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
parent
d177975239
commit
fe65447e5b
1 changed files with 1 additions and 1 deletions
|
@ -319,7 +319,7 @@ sub get_template_and_user {
|
|||
AuthorisedValueImages => C4::Context->preference("AuthorisedValueImages"),
|
||||
OPACBaseURL=> ($in->{'query'}->https() ? "https://" : "http://") .
|
||||
$ENV{'SERVER_NAME'} .
|
||||
($ENV{'SERVER_PORT'} eq "80" ? '' : ":$ENV{'SERVER_PORT'}"),
|
||||
($ENV{'SERVER_PORT'} eq ($in->{'query'}->https() ? "443" : "80") ? '' : ":$ENV{'SERVER_PORT'}"),
|
||||
);
|
||||
}
|
||||
$template->param(listloop=>[{shelfname=>"Freelist", shelfnumber=>110}]);
|
||||
|
|
Loading…
Reference in a new issue