summaryrefslogtreecommitdiffstats
path: root/Bugzilla.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla.pm')
-rw-r--r--Bugzilla.pm6
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();
}