From 089607652f4e502d874a2bb081cdb86e7e38cbf8 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Mon, 29 Feb 2016 20:12:03 +0100 Subject: [PATCH] Bug : phpcompta administrator changed automatically --- html/install.php | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/html/install.php b/html/install.php index 79615bb15..92dfd2206 100644 --- a/html/install.php +++ b/html/install.php @@ -425,14 +425,6 @@ if ( ini_get("register_globals") == true) { echo ""; $flag_php++; } - -if ( ini_get("session.use_trans_sid") == false ) { - echo "
  • "; - echo _('Avertissement').' : '.$failed; - print ' avertissement session.use_trans_sid should be set to true '; - echo "
  • "; -} - echo ""; echo ""; @@ -666,7 +658,8 @@ if (defined("MULTI") && MULTI == 0) define ('ALLOWED',1); $_GET['sb']="upg_all"; $rep=new Database(); -$rep->exec_sql("update ac_users set use_login=$1 where use_id=1", +if (defined (NOALYSS_ADMINISTRATOR) ) + $rep->exec_sql("update ac_users set use_login=$1 where use_id=1", array(strtolower(NOALYSS_ADMINISTRATOR))); require NOALYSS_INCLUDE."/upgrade.inc.php"; echo '

    '._('Important').'

    ';