mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
SOme changes to handle special characters in the database password
git-svn-id: file:///svn/phpbb/trunk@6132 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
ee8a9a6135
commit
30563df345
1 changed files with 7 additions and 0 deletions
|
@ -405,6 +405,8 @@ class install_install extends module
|
||||||
$error['db'][] = $lang['INST_ERR_NO_DB'];
|
$error['db'][] = $lang['INST_ERR_NO_DB'];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$dbpasswd = html_entity_decode($dbpasswd);
|
||||||
|
|
||||||
$connect_test = $this->connect_check_db(true, $error, $dbms, $table_prefix, $dbhost, $dbuser, $dbpasswd, $dbname, $dbport);
|
$connect_test = $this->connect_check_db(true, $error, $dbms, $table_prefix, $dbhost, $dbuser, $dbpasswd, $dbname, $dbport);
|
||||||
|
|
||||||
|
@ -717,6 +719,7 @@ class install_install extends module
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$dbpasswd = html_entity_decode($dbpasswd);
|
||||||
$load_extensions = implode(',', $load_extensions);
|
$load_extensions = implode(',', $load_extensions);
|
||||||
|
|
||||||
// Time to convert the data provided into a config file
|
// Time to convert the data provided into a config file
|
||||||
|
@ -934,6 +937,8 @@ class install_install extends module
|
||||||
@dl($this->available_dbms[$dbms]['MODULE'] . ".$prefix");
|
@dl($this->available_dbms[$dbms]['MODULE'] . ".$prefix");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$dbpasswd = html_entity_decode($dbpasswd);
|
||||||
|
|
||||||
// Load the appropriate database class if not already loaded
|
// Load the appropriate database class if not already loaded
|
||||||
include($phpbb_root_path . 'includes/db/' . $dbms . '.' . $phpEx);
|
include($phpbb_root_path . 'includes/db/' . $dbms . '.' . $phpEx);
|
||||||
|
|
||||||
|
@ -1193,6 +1198,8 @@ class install_install extends module
|
||||||
$$var = request_var($var, '');
|
$$var = request_var($var, '');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$dbpasswd = html_entity_decode($dbpasswd);
|
||||||
|
|
||||||
// Load the appropriate database class if not already loaded
|
// Load the appropriate database class if not already loaded
|
||||||
include($phpbb_root_path . 'includes/db/' . $dbms . '.' . $phpEx);
|
include($phpbb_root_path . 'includes/db/' . $dbms . '.' . $phpEx);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue