From: Chad Horohoe Date: Mon, 8 Nov 2010 16:19:08 +0000 (+0000) Subject: Followup r76088: rewrite relative CSS urls X-Git-Tag: 1.31.0-rc.0~33988 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=3217a98669c4e65c12c72f6a5a301ecd49834c53;p=lhc%2Fweb%2Fwiklou.git Followup r76088: rewrite relative CSS urls --- diff --git a/includes/installer/WebInstallerOutput.php b/includes/installer/WebInstallerOutput.php index ce0927f899..a05736f44d 100644 --- a/includes/installer/WebInstallerOutput.php +++ b/includes/installer/WebInstallerOutput.php @@ -93,10 +93,9 @@ class WebInstallerOutput { if( !$css ) { return "/** Your webserver cannot read $vectorCssFile, please check file permissions */"; } elseif( $dir == 'rtl' ) { - return CSSJanus::transform( $css, true ); - } else { - return $css; + $css = CSSJanus::transform( $css, true ); } + return str_replace( 'images/', '../skins/vector/images/', $css ); } /**