summaryrefslogtreecommitdiff
path: root/install.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-01-29 12:34:29 +0000
committerDries Buytaert <dries@buytaert.net>2007-01-29 12:34:29 +0000
commit0f284b37d293aa60107655cab89f7394dd73145a (patch)
tree9b7fdb62afac823be14d874cd5abad8d6bf29c92 /install.php
parentc13268f883d4cf029e1470473a803c68b9aeb1c0 (diff)
downloadbrdo-0f284b37d293aa60107655cab89f7394dd73145a.tar.gz
brdo-0f284b37d293aa60107655cab89f7394dd73145a.tar.bz2
- Patch #113788 by chx: fix menu_rebuild position.
Diffstat (limited to 'install.php')
-rw-r--r--install.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.php b/install.php
index aee05e3fd..ef790cea4 100644
--- a/install.php
+++ b/install.php
@@ -533,7 +533,6 @@ function install_complete($profile) {
// Bootstrap newly installed Drupal, while preserving existing messages.
$messages = $_SESSION['messages'];
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
- menu_rebuild();
$_SESSION['messages'] = $messages;
// Build final page.
@@ -548,6 +547,7 @@ function install_complete($profile) {
$profile_message = $function();
}
+ menu_rebuild();
// If the profile returned a welcome message, use that instead of default.
if (isset($profile_message)) {
$output .= $profile_message;