diff options
author | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-09-11 08:11:07 +0000 |
---|---|---|
committer | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-09-11 08:11:07 +0000 |
commit | 428a86e60fc9f12068d7ef121d718488b8346830 (patch) | |
tree | cc9686795da096c449d91c67a2205d17f8c47e2f /install.php | |
parent | 47f517edbe38837e851da7486983073515bec4ca (diff) | |
download | brdo-428a86e60fc9f12068d7ef121d718488b8346830.tar.gz brdo-428a86e60fc9f12068d7ef121d718488b8346830.tar.bz2 |
#74992 by nickl, beginner, and erdemkose. Some configurations were having trouble with the global variables.
Diffstat (limited to 'install.php')
-rw-r--r-- | install.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/install.php b/install.php index 706381c63..be479fa6f 100644 --- a/install.php +++ b/install.php @@ -66,7 +66,7 @@ function install_main() { // Change the settings.php information if verification failed earlier. if (!$verify) { - install_change_settings(); + install_change_settings($profile, $install_locale); } // Check the installation requirements for Drupal and this profile. @@ -124,8 +124,8 @@ function install_verify_settings() { /** * Configure and rewrite settings.php. */ -function install_change_settings() { - global $profile, $install_locale, $db_url, $db_type, $db_prefix; +function install_change_settings($profile = 'default', $install_locale = '') { + global $db_url, $db_type, $db_prefix; $url = parse_url($db_url); $db_user = urldecode($url['user']); |