From 5b53c6135928dda40b80b823c0926c4b73b1e649 Mon Sep 17 00:00:00 2001 From: moyo Date: Fri, 9 Mar 2018 11:56:34 +0800 Subject: [PATCH] Update Saver.php fix typos --- src/Xhgui/Saver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Xhgui/Saver.php b/src/Xhgui/Saver.php index f7ab900..f630af4 100644 --- a/src/Xhgui/Saver.php +++ b/src/Xhgui/Saver.php @@ -21,7 +21,7 @@ public static function factory($config) case 'mongodb': default: $mongo = new MongoClient($config['db.host'], $config['db.options']); - $collection = $mongo->{$config['db.do']}->results; + $collection = $mongo->{$config['db.db']}->results; $collection->findOne(); return new Xhgui_Saver_Mongo($collection); }