auth: Rename the phpbb_login class to PhpbbAuth.
[matthijs/projects/wipi.git] / conf / farmconfig.py
index 194b49876c50bd32c7d32f603b005e83109fa8cf..8043ed353e29562f4bc8ca5b4efa0931c6301bbe 100644 (file)
@@ -128,9 +128,10 @@ class FarmConfig(DefaultConfig):
         u'HelpContents',
     ]
 
-    # The default theme anonymous or new users get
-    theme_default = 'modern'
-
+    # Always use the proxy. Specific configs define a proxy_theme_mapping,
+    # which maps specific paths to a corresponding theme.
+    theme_default = 'proxy'
+    theme_force = True
 
     # Language options --------------------------------------------------
 
@@ -145,6 +146,9 @@ class FarmConfig(DefaultConfig):
 
     # Content options ---------------------------------------------------
 
+    # name of entry page
+    page_front_page = u"Start"
+
     # Show users hostnames in RecentChanges
     show_hosts = 1
 
@@ -161,14 +165,15 @@ class FarmConfig(DefaultConfig):
     require_comment = True
 
     # Authentication
-    from auth.mysql_login import mysql_login # This comes from plugin
+    from auth.phpbb_login import PhpbbAuth # This comes from plugin
     from dbsettings import phpbb_dbhost, phpbb_dbuser, phpbb_dbpass, phpbb_dbname
-    phpbb = mysql_login(
+    phpbb = PhpbbAuth(
         name    = 'phpbb',
         dbhost  = phpbb_dbhost,
         dbuser  = phpbb_dbuser,
         dbpass  = phpbb_dbpass,
         dbname  = phpbb_dbname,
+        phpbb_prefix = 'lex_',
         hint    = "Hier kunnen bestuursleden van Evolution Events inloggen om wijzigingen te maken."
     )
     auth = [phpbb]