From: Roan Kattouw Date: Wed, 20 Oct 2010 19:13:43 +0000 (+0000) Subject: Include $IP in path passed to remap() so filesystem access will work properly X-Git-Tag: 1.31.0-rc.0~34398 X-Git-Url: http://git.cyclocoop.org/data/%7B%24admin_url%7Dconfig?a=commitdiff_plain;h=e9ff9c0f589d9bdbbdccbc732fb67806445f7d85;p=lhc%2Fweb%2Fwiklou.git Include $IP in path passed to remap() so filesystem access will work properly --- diff --git a/includes/resourceloader/ResourceLoaderFileModule.php b/includes/resourceloader/ResourceLoaderFileModule.php index 18e820ad39..9e2044c12d 100644 --- a/includes/resourceloader/ResourceLoaderFileModule.php +++ b/includes/resourceloader/ResourceLoaderFileModule.php @@ -386,7 +386,7 @@ class ResourceLoaderFileModule extends ResourceLoaderModule { global $wgScriptPath, $IP; return CSSMin::remap( - file_get_contents( "$IP/$path" ), dirname( $path ), $wgScriptPath . '/' . dirname( $path ), true + file_get_contents( "$IP/$path" ), dirname( "$IP/$path" ), $wgScriptPath . '/' . dirname( $path ), true ); }