Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core/Db
diff options
context:
space:
mode:
authormattab <matthieu.aubry@gmail.com>2014-06-30 10:34:05 +0400
committermattab <matthieu.aubry@gmail.com>2014-06-30 10:34:05 +0400
commit0241a75091d66e3d971e6ac453d5c3786edfd00c (patch)
tree322edd3931c685189b0cb70034f58c75922e3ac7 /core/Db
parentd3d5c032b7ea6a11e9871f6670266b2948431098 (diff)
In case config file uses PDO_MYSQL (backward compatibility)
Diffstat (limited to 'core/Db')
-rw-r--r--core/Db/Schema.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/Db/Schema.php b/core/Db/Schema.php
index fd4f26da33..4568724ede 100644
--- a/core/Db/Schema.php
+++ b/core/Db/Schema.php
@@ -78,6 +78,7 @@ class Schema extends Singleton
$adapterName = strtoupper($adapterName);
switch ($adapterName) {
case 'PDO\MYSQL':
+ case 'PDO_MYSQL':
case 'MYSQLI':
$adapterName = 'MYSQL';
break;