summaryrefslogtreecommitdiff
path: root/install.php
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-05-11 17:25:14 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-05-11 17:25:14 +0000
commitdf0f9dbd4c0abcf5a3e15b869a8a492738fbff72 (patch)
tree193899b4cc4284d8ea4c9d8d62d9f2cafbf10fbf /install.php
parent0c46b77c3134bd1ce5871a7002eb9fb9d80ab9c3 (diff)
downloadbrdo-df0f9dbd4c0abcf5a3e15b869a8a492738fbff72.tar.gz
brdo-df0f9dbd4c0abcf5a3e15b869a8a492738fbff72.tar.bz2
#141637: add back menu_rebuild() to allow for clean URL check, and document the need for both menu_rebuild() calls, so we will not make this mistake in the future
Diffstat (limited to 'install.php')
-rw-r--r--install.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/install.php b/install.php
index de62188db..48d32a1e2 100644
--- a/install.php
+++ b/install.php
@@ -584,6 +584,8 @@ function install_tasks($profile, $task) {
if ($task == 'configure') {
drupal_set_title(st('Configure site'));
+ // Build menu to allow clean URL check.
+ menu_rebuild();
// We break the form up so we can tell when it's been successfully
// submitted.
@@ -633,6 +635,8 @@ function install_tasks($profile, $task) {
// The end of the install process. Remember profile used.
if ($task == 'done') {
+ // Rebuild menu to get content type links registered by the profile,
+ // and possibly any other menu items created through the tasks.
menu_rebuild();
variable_set('install_profile', $profile);
}