From d719877cd5f533827a7a0db55752945e9894f1ec Mon Sep 17 00:00:00 2001 From: mattab <matthieu.aubry@gmail.com> Date: Fri, 9 Aug 2013 18:08:22 +0200 Subject: [PATCH] Fixing bug in installer --- core/Db/Adapter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Db/Adapter.php b/core/Db/Adapter.php index ca66d53c91..55283b608d 100644 --- a/core/Db/Adapter.php +++ b/core/Db/Adapter.php @@ -75,7 +75,7 @@ class Adapter */ private static function getAdapterClassName($adapterName) { - return 'Piwik\Db\Adapter\\' . str_replace(' ', '\\', ucwords(str_replace('_', ' ', strtolower($adapterName)))); + return 'Piwik\Db\Adapter\\' . str_replace(' ', '\\', ucwords(str_replace(array('_','\\'), ' ', strtolower($adapterName)))); } /** -- GitLab