Qual: Meilleur gestion erreur si fonctions mysql non dispo sur le php
This commit is contained in:
parent
5534aa3fba
commit
fb3640a7cb
@ -171,7 +171,7 @@ class DoliDb
|
||||
*/
|
||||
function connect($host, $login, $passwd, $name)
|
||||
{
|
||||
$this->db = mysql_connect($host, $login, $passwd);
|
||||
$this->db = @mysql_connect($host, $login, $passwd);
|
||||
//print "Resultat fonction connect: ".$this->db;
|
||||
return $this->db;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user