https://bugzilla.wikimedia.org/show_bug.cgi?id=40679
--- Comment #16 from Chris Steipp <[email protected]> 2012-10-02 16:39:29 UTC --- (In reply to comment #7) > The problems we have aren't solved by introducing that, and introducing that > pattern is already possible without those 2 variables: > > > $wgServer = isHttps() ? 'http://example.org' : 'https://example.org'; This is the route that I think is ugly, but I'm starting to think might be the least evil of the options. I used this: if ( $wgSecureLogin === true && substr( $wgServer, 0, 7 ) === 'http://' ) { $wgServer = substr( $wgServer, 5 ); } -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
