http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7307

--- Comment #10 from Adrien SAURAT <adrien.sau...@biblibre.com> 2012-01-06 
09:32:29 UTC ---
I'm preparing a patch where the whole path has to be stored in the system
preference, but I have a doubt about C4/Auth.pm, which contains the following
code at line 445 :

  OPACBaseURL               => ($in->{'query'}->https() ? "https://"; :
"http://";) . $ENV{'SERVER_NAME'} .
                   ($ENV{'SERVER_PORT'} eq ($in->{'query'}->https() ? "443" :
"80") ? '' : ":$ENV{'SERVER_PORT'}"),


Should I replace this by a simple :

  OPACBaseURL => C4::Context->preference('OPACBaseURL')

or is there a reason to keep such a construction with SERVER_PORT ?

-- 
Configure bugmail: 
http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to