 * Setup the data directories in multiconfig.
--- moin--main--1.5/MoinMoin/multiconfig.py	2005-12-30 22:08:40.052681600 +0100
+++ moin--local-branch--AlexanderSchremmer/MoinMoin/multiconfig.py	2005-12-30 22:49:22.544812800 +0100
@@ -306,7 +306,7 @@
     # a regex of HTTP_USER_AGENTS that should be excluded from logging
     # and receive a FORBIDDEN for anything except viewing a page
     ua_spiders = ('archiver|cfetch|crawler|curl|gigabot|google|holmes|htdig|httrack|httpunit|jeeves|larbin|leech|'
-                  'linkbot|linkmap|linkwalk|mercator|mirror|msnbot|nutbot|omniexplorer|puf|robot|scooter|'
+                  'linkbot|linkmap|linkwalk|mercator|mirror|msnbot|nutbot|puf|robot|scooter|'
                   'search|sherlock|sitecheck|spider|teleport|wget')
 
     # Wiki identity
@@ -401,6 +401,18 @@
     xmlrpc_putpage_trusted_only = 1 # if 1, you will need to be http auth authenticated
     
     SecurityPolicy = None
+    
+    # MMDE specific options
+    moinpath = os.path.abspath(os.path.normpath(os.path.dirname(sys.argv[0])))
+    data_dir = os.path.join(moinpath, 'wiki', 'data')
+    data_underlay_dir = os.path.join(moinpath, 'wiki', 'underlay')
+    page_credits = [
+        '<a href="http://moinmoin.wikiwikiweb.de/">MoinMoin DesktopEdition Powered</a>',
+        '<a href="http://www.python.org/">Python Powered</a>',
+    ]
+    sitename = u'MoinMoin DesktopEdition'
+    page_front_page = u'FrontPage'
+    logo_string = u'<img src="/wiki/common/moinmoin.png" alt="MoinMoin Logo">'
 
     def __init__(self, siteid):
         """ Init Config instance """
@@ -409,7 +421,7 @@
             self._config_check()
 
         # define directories
-        self.moinmoin_dir = os.path.abspath(os.path.dirname(__file__))
+        self.moinmoin_dir = self.moinpath
         data_dir = os.path.normpath(self.data_dir)
         self.data_dir = data_dir
         for dirname in ('user', 'cache', 'plugin'):
