diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-10-15 17:43:07 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-10-15 17:43:07 +0000 |
commit | a47fa4d6cab862a9635f3e30d01ad2740c45a888 (patch) | |
tree | 10d3ad33badde24948065613ff884cc37ee87781 /phpBB/common.php | |
parent | 8661a45de596e06e89e8fa8f12efb91293780419 (diff) | |
download | forums-a47fa4d6cab862a9635f3e30d01ad2740c45a888.tar forums-a47fa4d6cab862a9635f3e30d01ad2740c45a888.tar.gz forums-a47fa4d6cab862a9635f3e30d01ad2740c45a888.tar.bz2 forums-a47fa4d6cab862a9635f3e30d01ad2740c45a888.tar.xz forums-a47fa4d6cab862a9635f3e30d01ad2740c45a888.zip |
Remove need for session_ids for "allowed" bots, dump user_founder/user_active in favour of user_type, new user_type, USER_IGNORE
git-svn-id: file:///svn/phpbb/trunk@4603 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/common.php')
-rw-r--r-- | phpBB/common.php | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/phpBB/common.php b/phpBB/common.php index 169a6caf9c..731320e38f 100644 --- a/phpBB/common.php +++ b/phpBB/common.php @@ -32,15 +32,6 @@ if (@ini_get('register_globals')) } } -// If magic quotes is off, addslashes -/*if (!get_magic_quotes_gpc()) -{ - $_GET = slash_input_data($_GET); - $_POST = slash_input_data($_POST); - $_REQUEST = slash_input_data($_REQUEST); - $_COOKIE = slash_input_data($_COOKIE); -}*/ - require($phpbb_root_path . 'config.'.$phpEx); if (!defined('PHPBB_INSTALLED')) @@ -86,6 +77,11 @@ define('AVATAR_UPLOAD', 1); define('AVATAR_REMOTE', 2); define('AVATAR_GALLERY', 3); +define('USER_NORMAL', 0); +define('USER_INACTIVE', 1); +define('USER_IGNORE', 2); +define('USER_FOUNDER', 3); + // ACL define('ACL_NO', 0); define('ACL_YES', 1); @@ -156,6 +152,7 @@ define('ATTACHMENTS_TABLE', $table_prefix.'attachments'); define('ATTACHMENTS_DESC_TABLE', $table_prefix.'attach_desc'); define('BANLIST_TABLE', $table_prefix.'banlist'); define('BBCODES_TABLE', $table_prefix.'bbcodes'); +define('BOTS_TABLE', $table_prefix.'bots'); define('CACHE_TABLE', $table_prefix.'cache'); define('CONFIG_TABLE', $table_prefix.'config'); define('CONFIRM_TABLE', $table_prefix.'confirm'); |