Changed way of setting table prefix

git-svn-id: file:///svn/phpbb/trunk@42 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Bart van Bragt 2001-02-24 10:06:40 +00:00
parent ec0dde0675
commit 05bb6c1fff

View file

@ -73,23 +73,24 @@ $dbpasswd = "iamstillanidiotspassword";
$date_format = "M d, Y h:i:s a"; $date_format = "M d, Y h:i:s a";
// DB table config // DB table config
define("BANLIST_TABLE", "phpbb_banlist"); $table_prefix = "phpbb_";
define("CATEGORIES_TABLE", "phpbb_categories"); define('BANLIST_TABLE', $table_prefix.'banlist');
define("CONFIG_TABLE", "phpbb_config"); define('CATEGORIES_TABLE', $table_prefix.'categories');
define("DISALLOW_TABLE", "phpbb_disallow"); define('CONFIG_TABLE', $table_prefix.'config');
define("FORUM_ACCESS_TABLE", "phpbb_forum_access"); define('DISALLOW_TABLE', $table_prefix.'disallow');
define("FORUM_MODS_TABLE", "phpbb_forum_mods"); define('FORUM_ACCESS_TABLE', $table_prefix.'forum_access');
define("FORUMS_TABLE", "phpbb_forums"); define('FORUM_MODS_TABLE', $table_prefix.'forum_mods');
define("HEADERMETAFOOTER_TABLE", "phpbb_headermetafooter"); define('FORUMS_TABLE', $table_prefix.'forums');
define("POSTS_TABLE", "phpbb_posts"); define('HEADERMETAFOOTER_TABLE', $table_prefix.'headermetafooter');
define("POSTS_TEXT_TABLE", "phpbb_posts_text"); define('POSTS_TABLE', $table_prefix.'posts');
define("PRIV_MSGS_TABLE", "phpbb_priv_msgs"); define('POSTS_TEXT_TABLE', $table_prefix.'posts_text');
define("RANKS_TABLE", "phpbb_ranks"); define('PRIV_MSGS_TABLE', $table_prefix.'priv_msgs');
define("SESSIONS_TABLE", "phpbb_sessions"); define('RANKS_TABLE', $table_prefix.'ranks');
define("THEMES_TABLE", "phpbb_themes"); define('SESSIONS_TABLE', $table_prefix.'sessions');
define("TOPICS_TABLE", "phpbb_topics"); define('THEMES_TABLE', $table_prefix.'themes');
define("USERS_TABLE", "phpbb_users"); define('TOPICS_TABLE', $table_prefix.'topics');
define("WHOSONLINE_TABLE", "phpbb_whosonline"); define('USERS_TABLE', $table_prefix.'users');
define("WORDS_TABLE", "phpbb_words"); define('WHOSONLINE_TABLE', $table_prefix.'whosonline');
define('WORDS_TABLE', $table_prefix.'words');
?> ?>