add 'web.ambient_upload_authority' as a paramater to tahoe.cfg

This commit is contained in:
toby.murray
2009-01-18 10:54:30 -07:00
parent f08898e107
commit 66f83c7356
5 changed files with 125 additions and 9 deletions

View File

@ -267,7 +267,9 @@ class Client(node.Node, pollmixin.PollMixin):
nodeurl_path = os.path.join(self.basedir, "node.url")
staticdir = self.get_config("node", "web.static", "public_html")
staticdir = os.path.expanduser(staticdir)
ws = WebishServer(webport, nodeurl_path, staticdir)
# should we provide ambient upload authority?
ambientUploadAuthority = self.get_config("node", "web.ambient_upload_authority", True, boolean=True)
ws = WebishServer(webport, nodeurl_path, staticdir, ambientUploadAuthority)
self.add_service(ws)
def init_ftp_server(self):