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

Merge pull request #4149 from GPCsolutions/dolibarr-php7

[Qual] OOP detection of PHP MySQL driver
parents 6542da40 b45d4a2a
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment