Commit 7862a492 authored by wmortada's avatar wmortada

Revert changes to array declaration

parent 7f5a1bb1
......@@ -318,12 +318,12 @@ if (isset($_POST['mysql'])) {
$databaseConfig = $_POST['mysql'];
}
else {
$databaseConfig = [
$databaseConfig = array(
"server" => "localhost",
"username" => "civicrm",
"password" => "",
"database" => "civicrm",
];
);
}
if ($installType == 'wordpress') {
......@@ -332,12 +332,12 @@ if ($installType == 'wordpress') {
$databaseConfig = $_POST['mysql'];
}
else {
$databaseConfig = [
$databaseConfig = array(
"server" => DB_HOST,
"username" => DB_USER,
"password" => DB_PASSWORD,
"database" => DB_NAME,
];
);
}
}
......@@ -347,12 +347,12 @@ if ($installType == 'drupal') {
$drupalConfig = $_POST['drupal'];
}
else {
$drupalConfig = [
$drupalConfig = array(
"server" => $databases['default']['default']['host'],
"username" => $databases['default']['default']['username'],
"password" => $databases['default']['default']['password'],
"database" => $databases['default']['default']['database'],
];
);
}
}
......@@ -362,12 +362,12 @@ if ($installType == 'backdrop') {
$backdropConfig = $_POST['backdrop'];
}
else {
$backdropConfig = [
$backdropConfig = array(
"server" => "localhost",
"username" => "backdrop",
"password" => "",
"database" => "backdrop",
];
);
}
}
......
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