noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 01/06: Bug : phpcompta administrator changed


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 01/06: Bug : phpcompta administrator changed automatically
Date: Mon, 29 Feb 2016 21:32:48 +0000

sparkyx pushed a commit to branch master
in repository noalyss.

commit 089607652f4e502d874a2bb081cdb86e7e38cbf8
Author: Dany De Bontridder <address@hidden>
Date:   Mon Feb 29 20:12:03 2016 +0100

    Bug : phpcompta administrator changed automatically
---
 html/install.php |   11 ++---------
 1 files changed, 2 insertions(+), 9 deletions(-)

diff --git a/html/install.php b/html/install.php
index 79615bb..92dfd22 100644
--- a/html/install.php
+++ b/html/install.php
@@ -425,14 +425,6 @@ if ( ini_get("register_globals") == true)  {
         echo "</li>";
        $flag_php++;
 }
-
-if ( ini_get("session.use_trans_sid") == false )  {
-        echo "<li>";
-        echo _('Avertissement').' : '.$failed;
-       print '<span class="warning"> avertissement session.use_trans_sid 
should be set to true </span>';
-        echo "</li>";
-}
-
 echo "</li>";
 
  echo "</ul>";
@@ -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 '<h1>'._('Important').'</h1>';



reply via email to

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