Commits

Anonymous committed c3e21f0

Fixed issues with deployment

Comments (0)

Files changed (1)

moin.isapi-wsgi.py

     MoinMoin - isapi-wsgi driver script
 
     Put directions here.
+    
+    Be sure to give write permissions to the IIS Worker Process ID on the data
+    directory.
 """
 
 import sys
 import os
 
-appdir = os.path.dirname(__FILE__)
+appdir = os.path.dirname(__file__)
 
 # a) Configuration of Python's code search path
 #    If you already have set up the PYTHONPATH environment variable for the
 
 # a2) Path of the directory where wikiconfig.py / farmconfig.py is located.
 #     See wiki/config/... for some sample config files.
-sys.path.insert(0, os.path.join(appdir, config))
+sys.path.insert(0, os.path.join(appdir, 'config'))
 #sys.path.insert(0, '/path/to/farmconfigdir')
 
 # b) Configuration of moin's logging