From 8630521c3151c652143673b80fb7f1cc501687a7 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Fri, 23 Jun 2017 14:34:55 -0400 Subject: Bug 1361890 - Fix problems with current js and css concatenation --- Bugzilla.pm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Bugzilla.pm') 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(); } -- cgit v1.2.3-24-g4f1b