Skip to content
Snippets Groups Projects
Commit fb3640a7 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Qual: Meilleur gestion erreur si fonctions mysql non dispo sur le php

parent 5534aa3f
Branches
Tags
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment