From 541e2b41af8cc44ad3eb0638618bc457c666d612 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Sat, 7 Apr 2018 19:20:00 -0400 Subject: a bit of a quantum leap It's now possible to load the CGIs into a mojolicious controller. Compatibility isn't 100% yet, but it should give a migration path for any random CGI to become a proper controller. --- Bugzilla/Util.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/Util.pm') diff --git a/Bugzilla/Util.pm b/Bugzilla/Util.pm index 206c0aa3f..8e60944b0 100644 --- a/Bugzilla/Util.pm +++ b/Bugzilla/Util.pm @@ -321,7 +321,7 @@ sub do_ssl_redirect_if_required { # Returns the real remote address of the client, sub remote_ip { - if (Bugzilla->usage_mode == USAGE_MODE_MOJO) { + if (Bugzilla->usage_mode == USAGE_MODE_QUANTUM) { return Bugzilla->cgi->controller->tx->remote_address; } else { -- cgit v1.2.3-24-g4f1b