diff options
author | Byron Jones <glob@mozilla.com> | 2014-05-28 06:28:18 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2014-05-28 06:28:18 +0200 |
commit | ccff248264ff717d515f753e460769b9bf33b38d (patch) | |
tree | 0f4110e77902f6df0f20a019c788b89561d9d6cb /Bugzilla/Template.pm | |
parent | 60965ea037f9709acd9aa9cc415b423f20345a84 (diff) | |
download | bugzilla-ccff248264ff717d515f753e460769b9bf33b38d.tar.gz bugzilla-ccff248264ff717d515f753e460769b9bf33b38d.tar.xz |
Bug 1016199: move skins/assets to data/assets
r=dkl, a=justdave
Diffstat (limited to 'Bugzilla/Template.pm')
-rw-r--r-- | Bugzilla/Template.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index 4a79f1aaf..8b5eed1c5 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -499,13 +499,13 @@ sub _concatenate_css { } @sources; my $cgi_path = bz_locations()->{cgi_path}; - my $skins_path = bz_locations()->{skinsdir}; + my $skins_path = bz_locations()->{assetsdir}; # build minified files my @minified; foreach my $source (@sources) { next unless -e "$cgi_path/$files{$source}"; - my $file = $skins_path . '/assets/' . md5_hex($source) . '.css'; + my $file = $skins_path . '/' . md5_hex($source) . '.css'; if (!-e $file) { my $content = read_file("$cgi_path/$files{$source}"); @@ -523,7 +523,7 @@ sub _concatenate_css { } # concat files - my $file = $skins_path . '/assets/' . md5_hex(join(' ', @sources)) . '.css'; + my $file = $skins_path . '/' . md5_hex(join(' ', @sources)) . '.css'; if (!-e $file) { my $content = ''; foreach my $source (@minified) { |