[Qual] OOP detection of PHP MySQL driver

This commit is contained in:
Raphaël Doursenaud 2015-12-03 22:29:44 +01:00
parent 6763b5baa0
commit b45d4a2a51

View File

@ -69,7 +69,7 @@ class DoliDBMysqli extends DoliDB
//print "Name DB: $host,$user,$pass,$name<br>";
if (! function_exists("mysqli_connect"))
if (! class_exists('mysqli'))
{
$this->connected = false;
$this->ok = false;