mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-18 23:41:28 +01:00
Rajout paramtre newlink qui avait t supprim
This commit is contained in:
@@ -79,7 +79,7 @@ class DoliDb
|
|||||||
\param name nom de la database
|
\param name nom de la database
|
||||||
\return int 1 en cas de succ<63>s, 0 sinon
|
\return int 1 en cas de succ<63>s, 0 sinon
|
||||||
*/
|
*/
|
||||||
function DoliDb($type='mysql', $host, $user, $pass, $name='')
|
function DoliDb($type='mysql', $host, $user, $pass, $name='', $newlink=0)
|
||||||
{
|
{
|
||||||
global $conf;
|
global $conf;
|
||||||
$this->transaction_opened=0;
|
$this->transaction_opened=0;
|
||||||
@@ -94,7 +94,7 @@ class DoliDb
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Essai connexion serveur
|
// Essai connexion serveur
|
||||||
$this->db = $this->connect($host, $user, $pass, $name);
|
$this->db = $this->connect($host, $user, $pass, $name, $newlink);
|
||||||
|
|
||||||
if ($this->db)
|
if ($this->db)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user