Commit 428a86e6 authored by drumm's avatar drumm

#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() {
// 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']);
......
Markdown is supported
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