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