From 34fcc7dbe12b823667edfe5a35b0d2dfcea2af37 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Fri, 28 Apr 2006 12:49:44 +0000 Subject: graham, sorry for this but i had to... ;) - utilize common.php in installer (we only need to change one location then) - use $user->lang instead of $lang to be able to use language template vars and having consistant namings git-svn-id: file:///svn/phpbb/trunk@5855 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/constants.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'phpBB/includes/constants.php') diff --git a/phpBB/includes/constants.php b/phpBB/includes/constants.php index 2d6dd04da2..7e31bea815 100644 --- a/phpBB/includes/constants.php +++ b/phpBB/includes/constants.php @@ -129,6 +129,15 @@ define('FIELD_BOOL', 4); define('FIELD_DROPDOWN', 5); define('FIELD_DATE', 6); +// Additional constants + + +// Table names - do not set if in installation +if (defined('IN_INSTALL')) +{ + return; +} + // Table names define('ACL_GROUPS_TABLE', $table_prefix.'auth_groups'); define('ACL_OPTIONS_TABLE', $table_prefix.'auth_options'); @@ -195,6 +204,6 @@ define('POLL_OPTIONS_TABLE', $table_prefix.'poll_results'); define('POLL_VOTES_TABLE', $table_prefix.'poll_voters'); define('ZEBRA_TABLE', $table_prefix.'zebra'); -// Additional constants +// Additional tables ?> \ No newline at end of file -- cgit v1.2.1