From 6dcbd862fd22ef38638b2ffb0f570c601baf2b4a Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Tue, 24 Mar 2020 14:21:48 +0100 Subject: [PATCH] Task #0001793: Installation mot de passe --- html/install.php | 2 +- include/constant.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/html/install.php b/html/install.php index 180c3cdb4..a83e7e1b2 100644 --- a/html/install.php +++ b/html/install.php @@ -525,7 +525,7 @@ if ($account == 0 ) { /* update name administrator */ $cadmin=NOALYSS_ADMINISTRATOR; $cn->exec_sql("update ac_users set use_login=$1,use_password=md5($2),use_active=1 where use_id=1", - array(strtolower($cadmin,$icpassword_admin))); + array(strtolower($cadmin),$icpassword_admin)); $cn->commit($cn); diff --git a/include/constant.php b/include/constant.php index e0330010b..04b6388cf 100644 --- a/include/constant.php +++ b/include/constant.php @@ -85,7 +85,7 @@ $g_succeed=""; define ('SMALLX','ⵝ'); define ('BUTTONADD',"✚"); - + define("NOALYSS_VERSION",9999); define ('SVNINFO',NOALYSS_VERSION); if ( ! defined ('DEBUG')) { define ("DEBUG",false);