Delete useless metactx param
git-svn-id: file:///srv/svn/repo/marisa/trunk@49 d6811dac-2434-b64a-9ddc-f563ab233461
This commit is contained in:
@@ -47,7 +47,6 @@ var conf struct {
|
|||||||
filepath string
|
filepath string
|
||||||
metapath string
|
metapath string
|
||||||
filectx string
|
filectx string
|
||||||
metactx string
|
|
||||||
maxsize int64
|
maxsize int64
|
||||||
expiry int64
|
expiry int64
|
||||||
}
|
}
|
||||||
@@ -261,7 +260,6 @@ func parseconfig(file string) error {
|
|||||||
conf.filepath = cfg.Section("").Key("filepath").String()
|
conf.filepath = cfg.Section("").Key("filepath").String()
|
||||||
conf.metapath = cfg.Section("").Key("metapath").String()
|
conf.metapath = cfg.Section("").Key("metapath").String()
|
||||||
conf.filectx = cfg.Section("").Key("filectx").String()
|
conf.filectx = cfg.Section("").Key("filectx").String()
|
||||||
conf.metactx = cfg.Section("").Key("metactx").String()
|
|
||||||
conf.rootdir = cfg.Section("").Key("rootdir").String()
|
conf.rootdir = cfg.Section("").Key("rootdir").String()
|
||||||
conf.chroot = cfg.Section("").Key("chroot").String()
|
conf.chroot = cfg.Section("").Key("chroot").String()
|
||||||
conf.tmplpath = cfg.Section("").Key("tmplpath").String()
|
conf.tmplpath = cfg.Section("").Key("tmplpath").String()
|
||||||
@@ -304,7 +302,6 @@ func main() {
|
|||||||
conf.filepath = "files"
|
conf.filepath = "files"
|
||||||
conf.metapath = "meta"
|
conf.metapath = "meta"
|
||||||
conf.filectx = "/f/"
|
conf.filectx = "/f/"
|
||||||
conf.metactx = "/m/"
|
|
||||||
conf.maxsize = 34359738368
|
conf.maxsize = 34359738368
|
||||||
conf.expiry = 86400
|
conf.expiry = 86400
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user