diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-05-19 17:33:46 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2018-06-28 22:41:56 +0200 |
commit | 216af94b979206ee77d3f3b783648a959b120547 (patch) | |
tree | 8d08425a6b009558c4c1803f8dfba0de0d667fba /Bugzilla/Quantum/Plugin | |
parent | 20c6de522aa4d27ba3c3f76d68c0b89424789270 (diff) | |
download | bugzilla-216af94b979206ee77d3f3b783648a959b120547.tar.gz bugzilla-216af94b979206ee77d3f3b783648a959b120547.tar.xz |
more things
Diffstat (limited to 'Bugzilla/Quantum/Plugin')
-rw-r--r-- | Bugzilla/Quantum/Plugin/Glue.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/Quantum/Plugin/Glue.pm b/Bugzilla/Quantum/Plugin/Glue.pm index 6c20d87f7..a28c2598d 100644 --- a/Bugzilla/Quantum/Plugin/Glue.pm +++ b/Bugzilla/Quantum/Plugin/Glue.pm @@ -48,7 +48,8 @@ sub register { try { local %{ Bugzilla->request_cache } = (); local $CGI::Compile::USE_REAL_EXIT = 0; - Bugzilla->usage_mode(USAGE_MODE_QUANTUM); + # HACK, should just make i_am_cgi smarter. + local $ENV{'SERVER_SOFTWARE'} = 1; Bugzilla->cgi( Bugzilla::Quantum::CGI->new(controller => $c) ); Bugzilla->template( Bugzilla::Quantum::Template->new( controller => $c, template => $template ) ); $next->(); |