diff options
author | Dylan William Hardison <dylan@hardison.net> | 2017-06-23 20:34:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-23 20:34:55 +0200 |
commit | 8630521c3151c652143673b80fb7f1cc501687a7 (patch) | |
tree | 47bf47da68d4a519884c91e0cd0f808b899ee2b1 /Bugzilla.pm | |
parent | df042aa77951fa69ea59c1ced9feded43ba3ae6c (diff) | |
download | bugzilla-8630521c3151c652143673b80fb7f1cc501687a7.tar.gz bugzilla-8630521c3151c652143673b80fb7f1cc501687a7.tar.xz |
Bug 1361890 - Fix problems with current js and css concatenation
Diffstat (limited to 'Bugzilla.pm')
-rw-r--r-- | Bugzilla.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Bugzilla.pm b/Bugzilla.pm index 0bdb8d443..b6dcd58ab 100644 --- a/Bugzilla.pm +++ b/Bugzilla.pm @@ -36,6 +36,7 @@ use Bugzilla::Flag; use Bugzilla::Hook; use Bugzilla::Install::Localconfig qw(read_localconfig); use Bugzilla::Install::Util qw(init_console include_languages); +use Bugzilla::Install::AssetManager; use Bugzilla::Memcached; use Bugzilla::Template; use Bugzilla::Token; @@ -257,6 +258,11 @@ sub extensions { return $cache->{extensions}; } +sub asset_manager { + state $asset_manager = Bugzilla::Install::AssetManager->new; + return $asset_manager; +} + sub cgi { return $_[0]->request_cache->{cgi} ||= new Bugzilla::CGI(); } |