summaryrefslogtreecommitdiff
path: root/install.php
diff options
context:
space:
mode:
Diffstat (limited to 'install.php')
-rw-r--r--install.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/install.php b/install.php
index b52dfbbee..981def2c8 100644
--- a/install.php
+++ b/install.php
@@ -615,8 +615,6 @@ 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.
@@ -641,6 +639,8 @@ function install_tasks($profile, $task) {
drupal_process_form('install_configure_form', $form, $form_state);
if (empty($form_state['redirect'])) {
+ // Build menu to allow clean URL check.
+ menu_rebuild();
$output = drupal_render_form('install_configure_form', $form);
}
else {