summaryrefslogtreecommitdiffstats
path: root/checksetup.pl
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-08-17 10:30:24 +0200
committerByron Jones <glob@mozilla.com>2015-08-17 10:30:24 +0200
commitc7a6d5ec3db192f0be73111133ecd666b12a5c66 (patch)
tree82d650949df2cc4c7316c2dbf1519ea45f27d372 /checksetup.pl
parent3431a53797bc024dab0b2db201e863460c908db0 (diff)
downloadbugzilla-c7a6d5ec3db192f0be73111133ecd666b12a5c66.tar.gz
bugzilla-c7a6d5ec3db192f0be73111133ecd666b12a5c66.tar.xz
Bug 979441 - Under mod_perl, some modules aren't preloaded at startup
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-xchecksetup.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/checksetup.pl b/checksetup.pl
index d3b4cc1d7..9221abd4d 100755
--- a/checksetup.pl
+++ b/checksetup.pl
@@ -247,6 +247,9 @@ Bugzilla::Hook::process('install_before_final_checks', { silent => $silent });
# Clear all keys from Memcached
Bugzilla->memcached->clear_all();
+# Reset the mod_perl pre-load list
+unlink(Bugzilla::Constants::bz_locations()->{datadir} . '/mod_perl_preload');
+
# Check if the default parameter for urlbase is still set, and if so, give
# notification that they should go and visit editparams.cgi
if (Bugzilla->params->{'urlbase'} eq '') {