From 6ff5ba77adb87a09b7954bb8c3c9be04bf7fd93f Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Sun, 8 Sep 2019 10:41:26 +0200 Subject: [PATCH] Typo DatabaseCore --- html/install.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html/install.php b/html/install.php index 75b2498bc..f6004718f 100644 --- a/html/install.php +++ b/html/install.php @@ -202,9 +202,9 @@ if (isset($_POST['save_config'])) { require_once NOALYSS_INCLUDE.'/lib/config_file.php'; // Try to connect , if it doesn't work that do not create the config file if ($multi=="N") { - $cnx = Database::connect($db_user, $db_password,'template1', $db_host, $db_port); + $cnx = new DatabaseCore($db_user, $db_password,'template1', $db_host, $db_port); }else { - $cnx = Database::connect($db_user, $db_password,$db_name, $db_host, $db_port); + $cnx = new DatabaseCore($db_user, $db_password,$db_name, $db_host, $db_port); } // ----- // If conx successfull save the file or display it