aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/constants.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/constants.php')
-rw-r--r--phpBB/includes/constants.php123
1 files changed, 61 insertions, 62 deletions
diff --git a/phpBB/includes/constants.php b/phpBB/includes/constants.php
index c62e50d481..f4863bd24f 100644
--- a/phpBB/includes/constants.php
+++ b/phpBB/includes/constants.php
@@ -173,69 +173,68 @@ define('REFERER_VALIDATE_PATH', 2);
define('VOTE_CONVERTED', 127);
// Table names
-define('ACL_GROUPS_TABLE', $table_prefix . 'acl_groups');
-define('ACL_OPTIONS_TABLE', $table_prefix . 'acl_options');
-define('ACL_ROLES_DATA_TABLE', $table_prefix . 'acl_roles_data');
-define('ACL_ROLES_TABLE', $table_prefix . 'acl_roles');
-define('ACL_USERS_TABLE', $table_prefix . 'acl_users');
-define('ATTACHMENTS_TABLE', $table_prefix . 'attachments');
-define('BANLIST_TABLE', $table_prefix . 'banlist');
-define('BBCODES_TABLE', $table_prefix . 'bbcodes');
-define('BOOKMARKS_TABLE', $table_prefix . 'bookmarks');
-define('BOTS_TABLE', $table_prefix . 'bots');
-define('CONFIG_TABLE', $table_prefix . 'config');
-define('CONFIRM_TABLE', $table_prefix . 'confirm');
-define('DISALLOW_TABLE', $table_prefix . 'disallow');
-define('DRAFTS_TABLE', $table_prefix . 'drafts');
-define('EXTENSIONS_TABLE', $table_prefix . 'extensions');
-define('EXTENSION_GROUPS_TABLE', $table_prefix . 'extension_groups');
-define('FORUMS_TABLE', $table_prefix . 'forums');
-define('FORUMS_ACCESS_TABLE', $table_prefix . 'forums_access');
-define('FORUMS_TRACK_TABLE', $table_prefix . 'forums_track');
-define('FORUMS_WATCH_TABLE', $table_prefix . 'forums_watch');
-define('GROUPS_TABLE', $table_prefix . 'groups');
-define('ICONS_TABLE', $table_prefix . 'icons');
-define('LANG_TABLE', $table_prefix . 'lang');
-define('LOG_TABLE', $table_prefix . 'log');
-define('MODERATOR_CACHE_TABLE', $table_prefix . 'moderator_cache');
-define('MODULES_TABLE', $table_prefix . 'modules');
-define('POLL_OPTIONS_TABLE', $table_prefix . 'poll_options');
-define('POLL_VOTES_TABLE', $table_prefix . 'poll_votes');
-define('POSTS_TABLE', $table_prefix . 'posts');
-define('PRIVMSGS_TABLE', $table_prefix . 'privmsgs');
-define('PRIVMSGS_FOLDER_TABLE', $table_prefix . 'privmsgs_folder');
-define('PRIVMSGS_RULES_TABLE', $table_prefix . 'privmsgs_rules');
-define('PRIVMSGS_TO_TABLE', $table_prefix . 'privmsgs_to');
-define('PROFILE_FIELDS_TABLE', $table_prefix . 'profile_fields');
-define('PROFILE_FIELDS_DATA_TABLE', $table_prefix . 'profile_fields_data');
-define('PROFILE_FIELDS_LANG_TABLE', $table_prefix . 'profile_fields_lang');
-define('PROFILE_LANG_TABLE', $table_prefix . 'profile_lang');
-define('RANKS_TABLE', $table_prefix . 'ranks');
-define('REPORTS_TABLE', $table_prefix . 'reports');
-define('REPORTS_REASONS_TABLE', $table_prefix . 'reports_reasons');
-define('SEARCH_RESULTS_TABLE', $table_prefix . 'search_results');
-define('SEARCH_WORDLIST_TABLE', $table_prefix . 'search_wordlist');
-define('SEARCH_WORDMATCH_TABLE', $table_prefix . 'search_wordmatch');
-define('SESSIONS_TABLE', $table_prefix . 'sessions');
-define('SESSIONS_KEYS_TABLE', $table_prefix . 'sessions_keys');
-define('SITELIST_TABLE', $table_prefix . 'sitelist');
-define('SMILIES_TABLE', $table_prefix . 'smilies');
-define('STYLES_TABLE', $table_prefix . 'styles');
-define('STYLES_TEMPLATE_TABLE', $table_prefix . 'styles_template');
-define('STYLES_THEME_TABLE', $table_prefix . 'styles_theme');
-define('STYLES_IMAGESET_TABLE', $table_prefix . 'styles_imageset');
-define('STYLES_IMAGESET_DATA_TABLE',$table_prefix . 'styles_imageset_data');
-define('TOPICS_TABLE', $table_prefix . 'topics');
-define('TOPICS_POSTED_TABLE', $table_prefix . 'topics_posted');
-define('TOPICS_TRACK_TABLE', $table_prefix . 'topics_track');
-define('TOPICS_WATCH_TABLE', $table_prefix . 'topics_watch');
-define('USER_GROUP_TABLE', $table_prefix . 'user_group');
-define('USERS_TABLE', $table_prefix . 'users');
-define('WARNINGS_TABLE', $table_prefix . 'warnings');
-define('WORDS_TABLE', $table_prefix . 'words');
-define('ZEBRA_TABLE', $table_prefix . 'zebra');
+define('ACL_GROUPS_TABLE', phpbb::$base_config['table_prefix'] . 'acl_groups');
+define('ACL_OPTIONS_TABLE', phpbb::$base_config['table_prefix'] . 'acl_options');
+define('ACL_ROLES_DATA_TABLE', phpbb::$base_config['table_prefix'] . 'acl_roles_data');
+define('ACL_ROLES_TABLE', phpbb::$base_config['table_prefix'] . 'acl_roles');
+define('ACL_USERS_TABLE', phpbb::$base_config['table_prefix'] . 'acl_users');
+define('ATTACHMENTS_TABLE', phpbb::$base_config['table_prefix'] . 'attachments');
+define('BANLIST_TABLE', phpbb::$base_config['table_prefix'] . 'banlist');
+define('BBCODES_TABLE', phpbb::$base_config['table_prefix'] . 'bbcodes');
+define('BOOKMARKS_TABLE', phpbb::$base_config['table_prefix'] . 'bookmarks');
+define('BOTS_TABLE', phpbb::$base_config['table_prefix'] . 'bots');
+define('CONFIG_TABLE', phpbb::$base_config['table_prefix'] . 'config');
+define('CONFIRM_TABLE', phpbb::$base_config['table_prefix'] . 'confirm');
+define('DISALLOW_TABLE', phpbb::$base_config['table_prefix'] . 'disallow');
+define('DRAFTS_TABLE', phpbb::$base_config['table_prefix'] . 'drafts');
+define('EXTENSIONS_TABLE', phpbb::$base_config['table_prefix'] . 'extensions');
+define('EXTENSION_GROUPS_TABLE', phpbb::$base_config['table_prefix'] . 'extension_groups');
+define('FORUMS_TABLE', phpbb::$base_config['table_prefix'] . 'forums');
+define('FORUMS_ACCESS_TABLE', phpbb::$base_config['table_prefix'] . 'forums_access');
+define('FORUMS_TRACK_TABLE', phpbb::$base_config['table_prefix'] . 'forums_track');
+define('FORUMS_WATCH_TABLE', phpbb::$base_config['table_prefix'] . 'forums_watch');
+define('GROUPS_TABLE', phpbb::$base_config['table_prefix'] . 'groups');
+define('ICONS_TABLE', phpbb::$base_config['table_prefix'] . 'icons');
+define('LANG_TABLE', phpbb::$base_config['table_prefix'] . 'lang');
+define('LOG_TABLE', phpbb::$base_config['table_prefix'] . 'log');
+define('MODERATOR_CACHE_TABLE', phpbb::$base_config['table_prefix'] . 'moderator_cache');
+define('MODULES_TABLE', phpbb::$base_config['table_prefix'] . 'modules');
+define('POLL_OPTIONS_TABLE', phpbb::$base_config['table_prefix'] . 'poll_options');
+define('POLL_VOTES_TABLE', phpbb::$base_config['table_prefix'] . 'poll_votes');
+define('POSTS_TABLE', phpbb::$base_config['table_prefix'] . 'posts');
+define('PRIVMSGS_TABLE', phpbb::$base_config['table_prefix'] . 'privmsgs');
+define('PRIVMSGS_FOLDER_TABLE', phpbb::$base_config['table_prefix'] . 'privmsgs_folder');
+define('PRIVMSGS_RULES_TABLE', phpbb::$base_config['table_prefix'] . 'privmsgs_rules');
+define('PRIVMSGS_TO_TABLE', phpbb::$base_config['table_prefix'] . 'privmsgs_to');
+define('PROFILE_FIELDS_TABLE', phpbb::$base_config['table_prefix'] . 'profile_fields');
+define('PROFILE_FIELDS_DATA_TABLE', phpbb::$base_config['table_prefix'] . 'profile_fields_data');
+define('PROFILE_FIELDS_LANG_TABLE', phpbb::$base_config['table_prefix'] . 'profile_fields_lang');
+define('PROFILE_LANG_TABLE', phpbb::$base_config['table_prefix'] . 'profile_lang');
+define('RANKS_TABLE', phpbb::$base_config['table_prefix'] . 'ranks');
+define('REPORTS_TABLE', phpbb::$base_config['table_prefix'] . 'reports');
+define('REPORTS_REASONS_TABLE', phpbb::$base_config['table_prefix'] . 'reports_reasons');
+define('SEARCH_RESULTS_TABLE', phpbb::$base_config['table_prefix'] . 'search_results');
+define('SEARCH_WORDLIST_TABLE', phpbb::$base_config['table_prefix'] . 'search_wordlist');
+define('SEARCH_WORDMATCH_TABLE', phpbb::$base_config['table_prefix'] . 'search_wordmatch');
+define('SESSIONS_TABLE', phpbb::$base_config['table_prefix'] . 'sessions');
+define('SESSIONS_KEYS_TABLE', phpbb::$base_config['table_prefix'] . 'sessions_keys');
+define('SITELIST_TABLE', phpbb::$base_config['table_prefix'] . 'sitelist');
+define('SMILIES_TABLE', phpbb::$base_config['table_prefix'] . 'smilies');
+define('STYLES_TABLE', phpbb::$base_config['table_prefix'] . 'styles');
+define('STYLES_TEMPLATE_TABLE', phpbb::$base_config['table_prefix'] . 'styles_template');
+define('STYLES_THEME_TABLE', phpbb::$base_config['table_prefix'] . 'styles_theme');
+define('STYLES_IMAGESET_TABLE', phpbb::$base_config['table_prefix'] . 'styles_imageset');
+define('STYLES_IMAGESET_DATA_TABLE',phpbb::$base_config['table_prefix'] . 'styles_imageset_data');
+define('TOPICS_TABLE', phpbb::$base_config['table_prefix'] . 'topics');
+define('TOPICS_POSTED_TABLE', phpbb::$base_config['table_prefix'] . 'topics_posted');
+define('TOPICS_TRACK_TABLE', phpbb::$base_config['table_prefix'] . 'topics_track');
+define('TOPICS_WATCH_TABLE', phpbb::$base_config['table_prefix'] . 'topics_watch');
+define('USER_GROUP_TABLE', phpbb::$base_config['table_prefix'] . 'user_group');
+define('USERS_TABLE', phpbb::$base_config['table_prefix'] . 'users');
+define('WARNINGS_TABLE', phpbb::$base_config['table_prefix'] . 'warnings');
+define('WORDS_TABLE', phpbb::$base_config['table_prefix'] . 'words');
+define('ZEBRA_TABLE', phpbb::$base_config['table_prefix'] . 'zebra');
// Additional tables
-
?> \ No newline at end of file