From: Krinkle Date: Sat, 12 Feb 2011 22:46:41 +0000 (+0000) Subject: Follow-up r81731 CR comments. Calling wfExpandUrl() on remote base path. X-Git-Tag: 1.31.0-rc.0~32016 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/password.php?a=commitdiff_plain;h=2b6aa1370c0a2c3d82e0f9061912e764a8d9c035;p=lhc%2Fweb%2Fwiklou.git Follow-up r81731 CR comments. Calling wfExpandUrl() on remote base path. --- diff --git a/includes/resourceloader/ResourceLoaderFileModule.php b/includes/resourceloader/ResourceLoaderFileModule.php index 701a6031eb..29f3d0997c 100644 --- a/includes/resourceloader/ResourceLoaderFileModule.php +++ b/includes/resourceloader/ResourceLoaderFileModule.php @@ -150,6 +150,7 @@ class ResourceLoaderFileModule extends ResourceLoaderModule { global $wgExtensionAssetsPath; $this->remoteBasePath = $wgExtensionAssetsPath . '/' . $options['remoteExtPath']; } + $this->remoteBasePath = wfExpandUrl( $this->remoteBasePath ); foreach ( $options as $member => $option ) { switch ( $member ) {