mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-08 14:30:05 +01:00
fix to use our db class with the new php5 mysqli extension
This commit is contained in:
parent
7f835c1020
commit
f7ec5b42f5
@ -238,6 +238,9 @@
|
|||||||
$php_extension = 'odbc';
|
$php_extension = 'odbc';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 'mysqli':
|
||||||
|
$this->Type = 'mysql';
|
||||||
|
// fall through
|
||||||
default:
|
default:
|
||||||
if ($this->Port) $Host .= ':'.$this->Port;
|
if ($this->Port) $Host .= ':'.$this->Port;
|
||||||
break;
|
break;
|
||||||
@ -319,6 +322,7 @@
|
|||||||
switch($adodb_driver)
|
switch($adodb_driver)
|
||||||
{
|
{
|
||||||
case 'mysql':
|
case 'mysql':
|
||||||
|
case 'mysqli':
|
||||||
$this->capabilities['sub_queries'] = $db_version >= 4.1;
|
$this->capabilities['sub_queries'] = $db_version >= 4.1;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user