summaryrefslogtreecommitdiff
path: root/install.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-08-08 21:18:04 +0000
committerDries Buytaert <dries@buytaert.net>2006-08-08 21:18:04 +0000
commit3c975f4bb8d3975dc73444e47d01dd98e9b2b37a (patch)
treef783283c052c291c10f5c5035aaa417643fc1d24 /install.php
parent3c0ad23f7df98abceabd3f8f92cd5358f76a0ed0 (diff)
downloadbrdo-3c975f4bb8d3975dc73444e47d01dd98e9b2b37a.tar.gz
brdo-3c975f4bb8d3975dc73444e47d01dd98e9b2b37a.tar.bz2
- Patch #77549 by adrian: install profiles should be in their own directory.
Diffstat (limited to 'install.php')
-rw-r--r--install.php5
1 files changed, 3 insertions, 2 deletions
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 <a href="%url">your new site</a>.' : 'You may now visit <a href="%url">your new site</a>.';
$output .= strtr('<p>'. $msg .'</p>', array('%url' => url('')));
}
-
// Output page.
print theme('maintenance_page', $output);
}