From 46eedb7d496c1a24b4a5cb0c0fb59ef142f61588 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Tue, 29 Jun 2010 09:53:54 +0200 Subject: [PATCH] config: Put phpbb_prefix in dbsettings.py. Previously, it was hardcoded in farmconfig.py. --- conf/dbsettings.py.tmpl | 1 + conf/farmconfig.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/conf/dbsettings.py.tmpl b/conf/dbsettings.py.tmpl index bb08261..8c9b4ea 100644 --- a/conf/dbsettings.py.tmpl +++ b/conf/dbsettings.py.tmpl @@ -2,3 +2,4 @@ phpbb_dbhost = '' phpbb_dbuser = '' phpbb_dbpass = '' phpbb_dbname = '' +phpbb_prefix = '' diff --git a/conf/farmconfig.py b/conf/farmconfig.py index 98eccab..e6fb492 100644 --- a/conf/farmconfig.py +++ b/conf/farmconfig.py @@ -166,14 +166,14 @@ class FarmConfig(DefaultConfig): # Authentication from auth.phpbb import PhpbbAuth # This comes from plugin - from dbsettings import phpbb_dbhost, phpbb_dbuser, phpbb_dbpass, phpbb_dbname + from dbsettings import phpbb_dbhost, phpbb_dbuser, phpbb_dbpass, phpbb_dbname, phpbb_prefix phpbb = PhpbbAuth( name = 'phpbb', dbhost = phpbb_dbhost, dbuser = phpbb_dbuser, dbpass = phpbb_dbpass, dbname = phpbb_dbname, - phpbb_prefix = 'lex_', + phpbb_prefix = phpbb_prefix, hint = "Hier kunnen bestuursleden van Evolution Events inloggen om wijzigingen te maken." ) auth = [phpbb] -- 2.30.2