mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-16 21:54:00 +02:00
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
This commit is contained in:
@@ -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');
|
||||
|
Reference in New Issue
Block a user