r92750 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r92749‎ | r92750 | r92751 >
Date:16:13, 21 July 2011
Author:aaron
Status:ok
Tags:
Comment:
Added $secure var back
Modified paths:
  • /trunk/tools/mwmultiversion/wmf-config/CommonSettings.php (modified) (history)

Diff [purge]

Index: trunk/tools/mwmultiversion/wmf-config/CommonSettings.php
@@ -177,6 +177,8 @@
178178 require( "$wmfConfigDir/db.php" );
179179 require( "$wmfConfigDir/mc.php" );
180180
 181+$secure = getenv( 'MW_SECURE_HOST' );
 182+
181183 # Protocol settings for urls
182184 if ( !$secure && $wmgHTTPSExperiment ) {
183185 $urlprotocol = "";

Status & tagging log