aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/constants.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-04-28 12:49:44 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-04-28 12:49:44 +0000
commit34fcc7dbe12b823667edfe5a35b0d2dfcea2af37 (patch)
tree4095518177ecb7b75a38d09e2d8c9eed49232fa7 /phpBB/includes/constants.php
parent1b065fb74afedf2513d5dab4726516f8778cdf9d (diff)
downloadforums-34fcc7dbe12b823667edfe5a35b0d2dfcea2af37.tar
forums-34fcc7dbe12b823667edfe5a35b0d2dfcea2af37.tar.gz
forums-34fcc7dbe12b823667edfe5a35b0d2dfcea2af37.tar.bz2
forums-34fcc7dbe12b823667edfe5a35b0d2dfcea2af37.tar.xz
forums-34fcc7dbe12b823667edfe5a35b0d2dfcea2af37.zip
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
Diffstat (limited to 'phpBB/includes/constants.php')
-rw-r--r--phpBB/includes/constants.php11
1 files changed, 10 insertions, 1 deletions
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