proxy: Make sure root pages get the right theme.
[matthijs/projects/wipi.git] / wipi.fcgi
index 9795dcbbc760da0087ac34316a77b754bfec5a3c..d953547e9467e999e9d47effaa1307abf7d60965 100755 (executable)
--- a/wipi.fcgi
+++ b/wipi.fcgi
@@ -19,11 +19,10 @@ sys.path.insert(0, confdir)
 from MoinMoin import log
 log.load_config(os.path.join(confdir, 'logging.conf'))
 
-# Debug mode - show detailed error reports
-#os.environ['MOIN_DEBUG'] = '1'
+from MoinMoin.web.flup_frontend import CGIFrontEnd
 
-from MoinMoin.server.server_fastcgi import FastCgiConfig, run
-class Config(FastCgiConfig):
-    pass
-
-run(Config)
+options = [
+            # Show errors in the output
+            #"--debug", "web",
+          ]
+CGIFrontEnd().run(options)