noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 01/19: Typo DatabaseCore


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 01/19: Typo DatabaseCore
Date: Mon, 9 Sep 2019 13:54:57 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 6ff5ba77adb87a09b7954bb8c3c9be04bf7fd93f
Author: Dany De Bontridder <address@hidden>
Date:   Sun Sep 8 10:41:26 2019 +0200

    Typo DatabaseCore
---
 html/install.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/html/install.php b/html/install.php
index 75b2498..f600471 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]