don't enable plugins until connected to a daemonm
This commit is contained in:
parent
63aa818c47
commit
92ecb3fe87
|
@ -364,6 +364,8 @@ class TopLevel(resource.Resource):
|
||||||
self.putChild("render", Render())
|
self.putChild("render", Render())
|
||||||
self.putChild("themes", static.File(rpath("themes")))
|
self.putChild("themes", static.File(rpath("themes")))
|
||||||
self.putChild("tracker", Tracker())
|
self.putChild("tracker", Tracker())
|
||||||
|
self.putChild("test", static.File("test.html"))
|
||||||
|
self.putChild("test.js", static.File("test.js"))
|
||||||
|
|
||||||
theme = component.get("DelugeWeb").config["theme"]
|
theme = component.get("DelugeWeb").config["theme"]
|
||||||
self.__stylesheets.insert(1, "/css/xtheme-%s.css" % theme)
|
self.__stylesheets.insert(1, "/css/xtheme-%s.css" % theme)
|
||||||
|
@ -505,7 +507,6 @@ class DelugeWeb(component.Component):
|
||||||
self.start_ssl()
|
self.start_ssl()
|
||||||
else:
|
else:
|
||||||
self.start_normal()
|
self.start_normal()
|
||||||
self.plugins.enable_plugins()
|
|
||||||
|
|
||||||
component.get("JSON").enable()
|
component.get("JSON").enable()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue