Index: trunk/extensions/OpenID/SpecialOpenID.body.php |
— | — | @@ -171,9 +171,8 @@ |
172 | 172 | if ( !is_null( $wgTrustRoot ) ) { |
173 | 173 | $trust_root = $wgTrustRoot; |
174 | 174 | } else { |
175 | | - global $wgArticlePath, $wgServer; |
176 | | - $root_article = str_replace( '$1', '', $wgArticlePath ); |
177 | | - $trust_root = $wgServer . $root_article; |
| 175 | + global $wgScriptPath, $wgServer; |
| 176 | + $trust_root = $wgServer . $wgScriptPath; |
178 | 177 | } |
179 | 178 | |
180 | 179 | wfSuppressWarnings(); |