From ccff248264ff717d515f753e460769b9bf33b38d Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Wed, 28 May 2014 12:28:18 +0800 Subject: Bug 1016199: move skins/assets to data/assets r=dkl, a=justdave --- Bugzilla/Template.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Bugzilla/Template.pm') 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) { -- cgit v1.2.3-24-g4f1b