From 3751c13253370c72735fb070588fa8d99db5e81a Mon Sep 17 00:00:00 2001 From: Jan Lehnardt Date: Sat, 30 Aug 2008 14:27:01 +0000 Subject: - Rename configuration options and sections to allow for a nicer .ini file and HTTP API calls. - Enable .ini parser to read variable assignments with spaces around the '='-sign. - Remove inadequate comment. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@690513 13f79535-47bb-0310-9956-ffa450edef68 --- src/couchdb/couch_view.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/couchdb/couch_view.erl') 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), -- cgit v1.2.3