diff options
Diffstat (limited to 'src/couchdb/couch_view.erl')
-rw-r--r-- | src/couchdb/couch_view.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/couchdb/couch_view.erl b/src/couchdb/couch_view.erl index ec6b16cf..938084df 100644 --- a/src/couchdb/couch_view.erl +++ b/src/couchdb/couch_view.erl @@ -222,10 +222,10 @@ fold(#view{btree=Btree}, StartKey, Dir, Fun, Acc) -> init([]) -> % read configuration settings and register for configuration changes - RootDir = couch_config:get({"CouchDB", "RootDirectory"}), + RootDir = couch_config:get({"couchdb", "database_dir"}), Self = self(), ok = couch_config:register( - fun({"CouchDB", "RootDirectory"})-> + fun({"couchdb", "database_dir"})-> exit(Self, config_change) end), |