summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-03-04 20:40:31 +0100
committerDylan William Hardison <dylan@hardison.net>2018-03-10 21:54:38 +0100
commitde95ef821f24d08c629ac764c7524970f968d70c (patch)
tree0ce0c94273fb9967f537385d6fbe3e66a4719cb6
parentfe302913e0768044527f060836ffd22c6ab2768f (diff)
downloadbugzilla-de95ef821f24d08c629ac764c7524970f968d70c.tar.gz
bugzilla-de95ef821f24d08c629ac764c7524970f968d70c.tar.xz
In PSGI mode, make sure CGI::Compile is loaded early
-rw-r--r--app.psgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/app.psgi b/app.psgi
index 101a85a83..4425b3e0c 100644
--- a/app.psgi
+++ b/app.psgi
@@ -29,7 +29,8 @@ BEGIN {
*lib::import = sub { };
}
-# This loads most of our modules.
+# it is very important for CGI::Compile to be loaded first.
+use CGI::Compile;
use Bugzilla::PSGI qw(compile_cgi);
use Bugzilla::Logging;
use Bugzilla ();