diff options
Diffstat (limited to 'mod_perl.pl')
-rw-r--r-- | mod_perl.pl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mod_perl.pl b/mod_perl.pl index aeadd6f35..09e3bac38 100644 --- a/mod_perl.pl +++ b/mod_perl.pl @@ -67,6 +67,9 @@ use Bugzilla::Install::Requirements (); use Bugzilla::Util (); use Bugzilla::RNG (); use Bugzilla::ModPerl (); +use Mojo::Loader qw(find_modules); +use Module::Runtime qw(require_module); +use Bugzilla::WebService::Server::REST; # Make warnings go to the virtual host's log and not the main # server log. @@ -103,6 +106,10 @@ Bugzilla::Extension->load_all(); Bugzilla->preload_features(); +require_module($_) for find_modules('Bugzilla::User::Setting'); + +Bugzilla::WebService::Server::REST->preload; + # Force instantiation of template so Bugzilla::Template::PreloadProvider can do its magic. Bugzilla->preload_templates; |