Skip to content
Snippets Groups Projects
Commit 1a8850dd authored by Kevin Cristiano's avatar Kevin Cristiano :earth_americas:
Browse files

Allow overriding CiviCRM DB Credentials

parent cc67f554
No related branches found
No related tags found
No related merge requests found
......@@ -118,13 +118,18 @@ else {
}
if ($installType == 'wordpress') {
//WP Database Data
// Load WP database config
if (isset($_POST['mysql'])) {
$databaseConfig = $_POST['mysql'];
}
else {
$databaseConfig = array(
"server" => DB_HOST,
"username" => DB_USER,
"password" => DB_PASSWORD,
"database" => DB_NAME,
);
}
}
if ($installType == 'drupal') {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment