Author: damoxc
Revision: 5754
Log:
don't enable plugins until connected to a daemonm
Diff:
Modified: trunk/deluge/ui/web/server.py
===================================================================
--- trunk/deluge/ui/web/server.py 2009-09-15 11:51:03 UTC (rev 5753)
+++ trunk/deluge/ui/web/server.py 2009-09-16 08:32:33 UTC (rev 5754)
@@ -364,6 +364,8 @@
self.putChild("render", Render())
self.putChild("themes", static.File(rpath("themes")))
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"]
self.__stylesheets.insert(1, "/css/xtheme-%s.css" % theme)
@@ -505,7 +507,6 @@
self.start_ssl()
else:
self.start_normal()
- self.plugins.enable_plugins()
component.get("JSON").enable()
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---