2
0
forked from Wavyzz/dolibarr

Fix: ID session pour permettre install multiples

This commit is contained in:
Laurent Destailleur
2005-07-08 20:30:11 +00:00
parent f2902ffcf3
commit 932f695fc0
2 changed files with 2 additions and 2 deletions

View File

@@ -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)

View File

@@ -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())