summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-06-28 09:29:29 +0200
committerAleksander Machniak <alec@alec.pl>2012-06-28 09:29:29 +0200
commit1a2b50f1a0b97b62dc83350260450d744999fff9 (patch)
treed9714afcdb1970aaa71caaa9b40c75a5c56edfb2
parent159691e7b1174146fc1c839288e5dd0162d3e6f9 (diff)
Support 'mysqli:' prefix in DSN
-rw-r--r--program/include/rcube_db.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/program/include/rcube_db.php b/program/include/rcube_db.php
index 64db6d5d0..ce381bb44 100644
--- a/program/include/rcube_db.php
+++ b/program/include/rcube_db.php
@@ -67,6 +67,7 @@ class rcube_db
'sqlite2' => 'sqlite',
'sybase' => 'mssql',
'dblib' => 'mssql',
+ 'mysqli' => 'mysql',
);
$driver = isset($driver_map[$driver]) ? $driver_map[$driver] : $driver;