git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d91f2da
)
do as thedoc says...
author
Felix Domke
<tmbinc@elitedvb.net>
Fri, 13 Jan 2006 16:56:24 +0000
(16:56 +0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Fri, 13 Jan 2006 16:56:24 +0000
(16:56 +0000)
lib/python/Plugins/web/plugin.py
patch
|
blob
|
history
diff --git
a/lib/python/Plugins/web/plugin.py
b/lib/python/Plugins/web/plugin.py
index bdcbd0586f107fb5958adba434ec400ea99285c4..b450b8cda656bcd900f5d51619451c71150a7474 100644
(file)
--- a/
lib/python/Plugins/web/plugin.py
+++ b/
lib/python/Plugins/web/plugin.py
@@
-5,11
+5,10
@@
from twisted.web2 import server, http, static
def autostart():
print "Web startup"
def autostart():
print "Web startup"
- # For example, serve the /tmp directory
- toplevel = static.File("/tmp")
+ toplevel = static.File("/hdd")
site = server.Site(toplevel)
site = server.Site(toplevel)
- reactor.listenTCP(80
80
, http.HTTPFactory(site))
+ reactor.listenTCP(80, http.HTTPFactory(site))
def autoend():
pass
def autoend():
pass