Skip to content

Commit

Permalink
Bug 1160598: url() in concatenated CSS files are incorrect when using…
Browse files Browse the repository at this point in the history
… Multiple Bugzilla databases with a single installation

r/a=glob
  • Loading branch information
LpSolit committed May 5, 2015
1 parent cccc252 commit 14bca7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Bugzilla/Template.pm
Expand Up @@ -543,7 +543,7 @@ sub _css_url_rewrite {
if (substr($url, 0, 1) eq '/' || substr($url, 0, 5) eq 'data:') {
return 'url(' . $url . ')';
}
return 'url(../../' . dirname($source) . '/' . $url . ')';
return 'url(../../' . ($ENV{'PROJECT'} ? '../' : '') . dirname($source) . '/' . $url . ')';
}

sub _concatenate_js {
Expand Down

0 comments on commit 14bca7f

Please sign in to comment.