| Index: trunk/phase3/includes/resourceloader/ResourceLoaderFileModule.php |
| — | — | @@ -150,7 +150,6 @@ |
| 151 | 151 | global $wgExtensionAssetsPath; |
| 152 | 152 | $this->remoteBasePath = $wgExtensionAssetsPath . '/' . $options['remoteExtPath']; |
| 153 | 153 | } |
| 154 | | - $this->remoteBasePath = wfExpandUrl( $this->remoteBasePath ); |
| 155 | 154 | |
| 156 | 155 | foreach ( $options as $member => $option ) { |
| 157 | 156 | switch ( $member ) { |
| — | — | @@ -198,6 +197,8 @@ |
| 199 | 198 | break; |
| 200 | 199 | } |
| 201 | 200 | } |
| | 201 | + // Make sure the remote base path is a complete valid url |
| | 202 | + $this->remoteBasePath = wfExpandUrl( $this->remoteBasePath ); |
| 202 | 203 | } |
| 203 | 204 | |
| 204 | 205 | /** |