Index: trunk/tools/mwmultiversion/wmf-config/CommonSettings.php |
— | — | @@ -177,6 +177,8 @@ |
178 | 178 | require( "$wmfConfigDir/db.php" ); |
179 | 179 | require( "$wmfConfigDir/mc.php" ); |
180 | 180 | |
| 181 | +$secure = getenv( 'MW_SECURE_HOST' ); |
| 182 | + |
181 | 183 | # Protocol settings for urls |
182 | 184 | if ( !$secure && $wmgHTTPSExperiment ) { |
183 | 185 | $urlprotocol = ""; |