rajout de la fonction getdsn()
This commit is contained in:
parent
f40d055a42
commit
633d0cbe24
1 changed files with 6 additions and 0 deletions
|
|
@ -468,6 +468,12 @@ class DoliDb {
|
|||
return mysql_affected_rows();
|
||||
}
|
||||
|
||||
|
||||
function getdsn()
|
||||
{
|
||||
$pear = $dolibarr_main_db_type.'://'.$dolibarr_main_db_user.':'.$dolibarr_main_db_pass.'@'.$dolibarr_main_db_host.'/'.$dolibarr_main_db_name;
|
||||
return $pear;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
|||
Loading…
Reference in a new issue