diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2015-05-05 18:59:03 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2015-05-05 18:59:03 +0200 |
commit | 3eb8ccc6cc08ed6d5dc13e780b250636a814f645 (patch) | |
tree | 0c5a62aebc038e89e4adb0f469374502fefeff5b /Bugzilla | |
parent | 4c81579f912af3d01fbb13c580922346f3084074 (diff) | |
download | bugs-3eb8ccc6cc08ed6d5dc13e780b250636a814f645.tar bugs-3eb8ccc6cc08ed6d5dc13e780b250636a814f645.tar.gz bugs-3eb8ccc6cc08ed6d5dc13e780b250636a814f645.tar.bz2 bugs-3eb8ccc6cc08ed6d5dc13e780b250636a814f645.tar.xz bugs-3eb8ccc6cc08ed6d5dc13e780b250636a814f645.zip |
Bug 1160598: url() in concatenated CSS files are incorrect when using Multiple Bugzilla databases with a single installation
r/a=glob
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Template.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index 3fd71236e..6ac36f783 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -539,7 +539,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 { |