summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Quantum/Plugin/Glue.pm
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-05-19 17:33:46 +0200
committerDylan William Hardison <dylan@hardison.net>2018-06-28 22:41:56 +0200
commit216af94b979206ee77d3f3b783648a959b120547 (patch)
tree8d08425a6b009558c4c1803f8dfba0de0d667fba /Bugzilla/Quantum/Plugin/Glue.pm
parent20c6de522aa4d27ba3c3f76d68c0b89424789270 (diff)
downloadbugzilla-216af94b979206ee77d3f3b783648a959b120547.tar.gz
bugzilla-216af94b979206ee77d3f3b783648a959b120547.tar.xz
more things
Diffstat (limited to 'Bugzilla/Quantum/Plugin/Glue.pm')
-rw-r--r--Bugzilla/Quantum/Plugin/Glue.pm3
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->();