forked from Wavyzz/dolibarr
Fix: ID session pour permettre install multiples
This commit is contained in:
@@ -71,7 +71,7 @@ else
|
||||
);
|
||||
|
||||
$aDol = new DOLIAuth("DB", $params, "loginfunction");
|
||||
$aDol->setSessionName($dolibarr_main_db_name);
|
||||
$aDol->setSessionName("DOLSESSID_".$dolibarr_main_db_name);
|
||||
$aDol->start();
|
||||
$result = $aDol->getAuth();
|
||||
if ($result)
|
||||
|
||||
@@ -36,7 +36,7 @@ define('DOL_DOCUMENT_ROOT', $dolibarr_main_document_root);
|
||||
require_once "../includes/pear/Auth/Auth.php";
|
||||
|
||||
$a = new DOLIAuth("DB");
|
||||
$a->setSessionName($dolibarr_main_db_name);
|
||||
$a->setSessionName("DOLSESSID_".$dolibarr_main_db_name);
|
||||
$a->setShowLogin (false);
|
||||
$a->start();
|
||||
if ($a->getAuth())
|
||||
|
||||
Reference in New Issue
Block a user