From 3c975f4bb8d3975dc73444e47d01dd98e9b2b37a Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 8 Aug 2006 21:18:04 +0000 Subject: - Patch #77549 by adrian: install profiles should be in their own directory. --- install.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'install.php') diff --git a/install.php b/install.php index ed1636af6..cff4a0ae1 100644 --- a/install.php +++ b/install.php @@ -54,7 +54,7 @@ function install_main() { _install_no_profile_error(); } // Load the profile. - require_once "./profiles/$profile.profile"; + require_once "./profiles/$profile/$profile.profile"; // Change the settings.php information if verification failed earlier. if (!$verify) { @@ -414,6 +414,8 @@ function install_already_done_error() { */ function install_complete($profile) { global $base_url; + // Store install profile for later use. + variable_set('install_profile', $profile); // Bootstrap newly installed Drupal, while preserving existing messages. $messages = $_SESSION['messages']; @@ -436,7 +438,6 @@ function install_complete($profile) { $msg = drupal_set_message() ? 'Please review the messages above before continuing on to your new site.' : 'You may now visit your new site.'; $output .= strtr('

'. $msg .'

', array('%url' => url(''))); } - // Output page. print theme('maintenance_page', $output); } -- cgit v1.2.3