exodus: Only import home.css for the homepage.
[matthijs/projects/wipi.git] / wipi.fcgi
1 #!/usr/bin/python
2 # -*- coding: iso-8859-1 -*-
3 """
4     MoinMoin - FastCGI Driver Script
5     
6     @copyright: 2008 MoinMoin:ThomasWaldmann
7     @license: GNU GPL, see COPYING for details.
8 """
9
10 import sys, os
11
12 # Define the path to our config relative to where we are.
13 confdir = os.path.join(os.path.dirname(__file__), 'conf')
14
15 # Put our config in the python path
16 sys.path.insert(0, confdir)
17
18 # Load a logging conf
19 from MoinMoin import log
20 log.load_config(os.path.join(confdir, 'logging.conf'))
21
22 # Debug mode - show detailed error reports
23 #os.environ['MOIN_DEBUG'] = '1'
24
25 from MoinMoin.server.server_fastcgi import FastCgiConfig, run
26 class Config(FastCgiConfig):
27     pass
28
29 run(Config)