From 4c8b7b118226e6a6ad0fe8994d06d6ba9b0d2b06 Mon Sep 17 00:00:00 2001 From: Dylan Hardison Date: Mon, 9 Nov 2015 09:32:19 -0500 Subject: Bug 1219767 - Explicitly load extensions at Bugzilla->login --- Bugzilla.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Bugzilla.pm') diff --git a/Bugzilla.pm b/Bugzilla.pm index a219d5bde..0ce152e48 100644 --- a/Bugzilla.pm +++ b/Bugzilla.pm @@ -368,6 +368,9 @@ sub login { return $class->user if $class->user->id; + # Load all extensions here if not running under mod_perl + $class->extensions unless $ENV{MOD_PERL}; + my $authorizer = new Bugzilla::Auth(); $type = LOGIN_REQUIRED if $class->cgi->param('GoAheadAndLogIn'); -- cgit v1.2.3-24-g4f1b