Fix: ID session pour permettre install multiples

This commit is contained in:
Laurent Destailleur 2005-07-07 00:44:49 +00:00
parent 5c5c428ed5
commit 1372e94edd
2 changed files with 5 additions and 2 deletions

View File

@ -71,6 +71,7 @@ else
);
$aDol = new DOLIAuth("DB", $params, "loginfunction");
$aDol->setSessionName($dolibarr_main_db_name);
$aDol->start();
$result = $aDol->getAuth();
if ($result)

View File

@ -22,8 +22,9 @@
*
*/
/*! \file htdocs/user/logout.php
\brief Fichier de deconnexion
/**
\file htdocs/user/logout.php
\brief Fichier de deconnexion
*/
if (!empty ($_SERVER["REMOTE_USER"]))
@ -35,6 +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->setShowLogin (false);
$a->start();
if ($a->getAuth())