changeset 4262:46ad11b00bed

Fixed: variable reference and left out request handler
author Florian Krupicka <florian.krupicka@googlemail.com>
date Sat, 02 Aug 2008 22:12:18 +0200
parents 6de8b4205754
children d40461b9ee6c
files MoinMoin/web/serving.py
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/web/serving.py	Sat Aug 02 21:37:30 2008 +0200
+++ b/MoinMoin/web/serving.py	Sat Aug 02 22:12:18 2008 +0200
@@ -68,10 +68,11 @@
     from MoinMoin.wsgiapp import application
 
     if docs and os.path.isdir(docs):
-        shared = {url_prefix_static: docs,
+        shared = {config.url_prefix_static: docs,
                   '/favicon.ico': os.path.join(docs, 'favicon.ico'),
                   '/robots.txt': os.path.join(docs, 'robots.txt')}
         application = SharedDataMiddleware(application, shared)
 
     run_simple(host, port, application, threaded=threaded,
-               use_debugger=use_debugger)
+               use_debugger=use_debugger,
+               request_handler=RequestHandler)