From 7862a4922f38256fec9d09260a76b6e13b811c5a Mon Sep 17 00:00:00 2001 From: William Mortada Date: Wed, 11 Oct 2017 22:43:30 +0100 Subject: [PATCH] Revert changes to array declaration --- install/index.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/install/index.php b/install/index.php index 64cc546531..0d67a72c04 100644 --- a/install/index.php +++ b/install/index.php @@ -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", - ]; + ); } } -- 2.25.1