summaryrefslogtreecommitdiff
path: root/install.php
diff options
context:
space:
mode:
authorNeil Drumm <drumm@3064.no-reply.drupal.org>2006-09-11 08:11:07 +0000
committerNeil Drumm <drumm@3064.no-reply.drupal.org>2006-09-11 08:11:07 +0000
commit428a86e60fc9f12068d7ef121d718488b8346830 (patch)
treecc9686795da096c449d91c67a2205d17f8c47e2f /install.php
parent47f517edbe38837e851da7486983073515bec4ca (diff)
downloadbrdo-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.php6
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']);