Commit 428a86e6 authored by drumm's avatar drumm
Browse files

#74992 by nickl, beginner, and erdemkose. Some configurations were having...

#74992 by nickl, beginner, and erdemkose. Some configurations were having trouble with the global variables.
parent 47f517ed
...@@ -66,7 +66,7 @@ function install_main() { ...@@ -66,7 +66,7 @@ function install_main() {
// Change the settings.php information if verification failed earlier. // Change the settings.php information if verification failed earlier.
if (!$verify) { if (!$verify) {
install_change_settings(); install_change_settings($profile, $install_locale);
} }
// Check the installation requirements for Drupal and this profile. // Check the installation requirements for Drupal and this profile.
...@@ -124,8 +124,8 @@ function install_verify_settings() { ...@@ -124,8 +124,8 @@ function install_verify_settings() {
/** /**
* Configure and rewrite settings.php. * Configure and rewrite settings.php.
*/ */
function install_change_settings() { function install_change_settings($profile = 'default', $install_locale = '') {
global $profile, $install_locale, $db_url, $db_type, $db_prefix; global $db_url, $db_type, $db_prefix;
$url = parse_url($db_url); $url = parse_url($db_url);
$db_user = urldecode($url['user']); $db_user = urldecode($url['user']);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment