diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-06-30 10:34:05 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-06-30 10:34:05 +0400 |
commit | 0241a75091d66e3d971e6ac453d5c3786edfd00c (patch) | |
tree | 322edd3931c685189b0cb70034f58c75922e3ac7 /core/Db | |
parent | d3d5c032b7ea6a11e9871f6670266b2948431098 (diff) |
In case config file uses PDO_MYSQL (backward compatibility)
Diffstat (limited to 'core/Db')
-rw-r--r-- | core/Db/Schema.php | 1 |
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; |