(bug 33471) Changed detection of secure cookies.
authorTyler Romeo <tylerromeo@gmail.com>
Fri, 10 Aug 2012 20:27:13 +0000 (16:27 -0400)
committerTyler Romeo <tylerromeo@gmail.com>
Fri, 10 Aug 2012 20:27:13 +0000 (16:27 -0400)
commit71b03dd4994b0e0cefa800411e3e60a8ebcc6f30
tree6146cf68974515ebd4972cd3f05bc7833d132330
parente68fd8ed50605ac789cf4a0d3d7d25036f3679e3
(bug 33471) Changed detection of secure cookies.

Changed code in Setup.php that checks whether or
not to use secure cookies. Previously it just
looked at $wgServer, which doesn't work with
protocol-relative URLs. Now it uses WebRequest::detectProtocol(),
which in turn checks $_SERVER.

Change-Id: I6adc7e3e9bd224608b13cbb748bdd2b61edaa764
Signed-off-by: Tyler Romeo <tylerromeo@gmail.com>
includes/Setup.php