$databaseConfig = $_POST['mysql'];
}
else {
- if ($installType == 'wordpress') {
- //WP Database Data
- $databaseConfig = array(
- "server" => DB_HOST,
- "username" => DB_USER,
- "password" => DB_PASSWORD,
- "database" => DB_NAME,
- );
- }
+ $databaseConfig = array(
+ "server" => "localhost",
+ "username" => "civicrm",
+ "password" => "",
+ "database" => "civicrm",
+ );
+}
+
+if ($installType == 'wordpress') {
+ //WP Database Data
+ $databaseConfig = array(
+ "server" => DB_HOST,
+ "username" => DB_USER,
+ "password" => DB_PASSWORD,
+ "database" => DB_NAME,
+ );
}
if ($installType == 'drupal') {