phpBB

Code Changes

File: includes/constants.php

  Unmodified   Added   Modified   Removed
Line 23Line 23
* PHPBB_ROOT_PATH
* PHPBB_ADMIN_PATH
*/

* PHPBB_ROOT_PATH
* PHPBB_ADMIN_PATH
*/

 

// phpBB Version
define('PHPBB_VERSION', '3.0.14');


// QA-related
// define('PHPBB_QA', 1);


// QA-related
// define('PHPBB_QA', 1);

Line 65Line 68
define('LOGIN_ERROR_ATTEMPTS', 13);
define('LOGIN_ERROR_EXTERNAL_AUTH', 14);
define('LOGIN_ERROR_PASSWORD_CONVERT', 15);

define('LOGIN_ERROR_ATTEMPTS', 13);
define('LOGIN_ERROR_EXTERNAL_AUTH', 14);
define('LOGIN_ERROR_PASSWORD_CONVERT', 15);

 

// Maximum login attempts
// The value is arbitrary, but it has to fit into the user_login_attempts field.
define('LOGIN_ATTEMPTS_MAX', 100);


// Group settings
define('GROUP_OPEN', 0);


// Group settings
define('GROUP_OPEN', 0);

Line 88Line 95
define('FORUM_FLAG_PRUNE_STICKY', 8);
define('FORUM_FLAG_ACTIVE_TOPICS', 16);
define('FORUM_FLAG_POST_REVIEW', 32);

define('FORUM_FLAG_PRUNE_STICKY', 8);
define('FORUM_FLAG_ACTIVE_TOPICS', 16);
define('FORUM_FLAG_POST_REVIEW', 32);

 
define('FORUM_FLAG_QUICK_REPLY', 64);

// Forum Options... sequential order. Modifications should begin at number 10 (number 29 is maximum)
define('FORUM_OPTION_FEED_NEWS', 1);
define('FORUM_OPTION_FEED_EXCLUDE', 2);


// Optional text flags
define('OPTION_FLAG_BBCODE', 1);


// Optional text flags
define('OPTION_FLAG_BBCODE', 1);

Line 108Line 120
define('NOTIFY_EMAIL', 0);
define('NOTIFY_IM', 1);
define('NOTIFY_BOTH', 2);

define('NOTIFY_EMAIL', 0);
define('NOTIFY_IM', 1);
define('NOTIFY_BOTH', 2);

 

// Notify status
define('NOTIFY_YES', 0);
define('NOTIFY_NO', 1);


// Email Priority Settings
define('MAIL_LOW_PRIORITY', 4);


// Email Priority Settings
define('MAIL_LOW_PRIORITY', 4);

Line 141Line 157
define('CONFIRM_REG', 1);
define('CONFIRM_LOGIN', 2);
define('CONFIRM_POST', 3);

define('CONFIRM_REG', 1);
define('CONFIRM_LOGIN', 2);
define('CONFIRM_POST', 3);

 
define('CONFIRM_REPORT', 4);


// Categories - Attachments
define('ATTACHMENT_CATEGORY_NONE', 0);


// Categories - Attachments
define('ATTACHMENT_CATEGORY_NONE', 0);

Line 156Line 173

// Number of core BBCodes
define('NUM_CORE_BBCODES', 12);


// Number of core BBCodes
define('NUM_CORE_BBCODES', 12);

 

// BBCode hard limit
define('BBCODE_LIMIT', 1511);

// Smiley hard limit
define('SMILEY_LIMIT', 1000);


// Magic url types
define('MAGIC_URL_EMAIL', 1);


// Magic url types
define('MAGIC_URL_EMAIL', 1);

Line 176Line 199
define('REFERER_VALIDATE_HOST', 1);
define('REFERER_VALIDATE_PATH', 2);


define('REFERER_VALIDATE_HOST', 1);
define('REFERER_VALIDATE_PATH', 2);


 
// phpbb_chmod() permissions
@define('CHMOD_ALL', 7);
@define('CHMOD_READ', 4);
@define('CHMOD_WRITE', 2);
@define('CHMOD_EXECUTE', 1);

// Captcha code length
define('CAPTCHA_MIN_CHARS', 4);
define('CAPTCHA_MAX_CHARS', 7);


// Additional constants
define('VOTE_CONVERTED', 127);


// Additional constants
define('VOTE_CONVERTED', 127);

Line 205Line 237
define('ICONS_TABLE',				$table_prefix . 'icons');
define('LANG_TABLE', $table_prefix . 'lang');
define('LOG_TABLE', $table_prefix . 'log');

define('ICONS_TABLE',				$table_prefix . 'icons');
define('LANG_TABLE', $table_prefix . 'lang');
define('LOG_TABLE', $table_prefix . 'log');

 
define('LOGIN_ATTEMPT_TABLE',		$table_prefix . 'login_attempts');

define('MODERATOR_CACHE_TABLE',		$table_prefix . 'moderator_cache');
define('MODULES_TABLE', $table_prefix . 'modules');
define('POLL_OPTIONS_TABLE', $table_prefix . 'poll_options');

define('MODERATOR_CACHE_TABLE',		$table_prefix . 'moderator_cache');
define('MODULES_TABLE', $table_prefix . 'modules');
define('POLL_OPTIONS_TABLE', $table_prefix . 'poll_options');

Line 248Line 281


?>



?>