# These don't work as normal constants.
DB_MODULE => \&Bugzilla::Constants::DB_MODULE,
- REQUIRED_MODULES =>
- \&Bugzilla::Install::Requirements::REQUIRED_MODULES,
- OPTIONAL_MODULES => sub {
- my @optional = @{OPTIONAL_MODULES()};
- foreach my $item (@optional) {
- my @features;
- foreach my $feat_id (@{ $item->{feature} }) {
- push(@features, install_string("feature_$feat_id"));
- }
- $item->{feature} = \@features;
- }
- return \@optional;
- },
'default_authorizer' => sub { return Bugzilla::Auth->new() },
# It is almost always better to do mobile feature detection, client side in js.
[% INCLUDE db_req db='sqlite' %]
-<h3 id="v42_req_modules">Required Perl Modules</h3>
-
-[% INCLUDE req_table reqs = REQUIRED_MODULES
- new = ['Math-Random-ISAAC']
- updated = ['URI'] %]
-
-<h3 id="v42_req_optional_mod">Optional Perl Modules</h3>
-
-<p>The following perl modules, if installed, enable various
- features of [% terms.Bugzilla %]:</p>
-
-[% INCLUDE req_table reqs = OPTIONAL_MODULES
- new = ['Encode', 'Encode-Detect']
- updated = ['PatchReader', 'Apache-SizeLimit']
- include_feature = 1 %]
-
<h3 id="v42_req_apache">Optional Apache Modules</h3>
<p>If you are using Apache as your webserver, [% terms.Bugzilla %] can