mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
Moved include files
git-svn-id: file:///svn/phpbb/trunk@94 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -22,53 +22,6 @@
|
||||
*
|
||||
***************************************************************************/
|
||||
|
||||
// Constants
|
||||
// Debug Level
|
||||
define(DEBUG, 1); // Debugging on
|
||||
//define(DEBUG, 0); // Debugging off
|
||||
|
||||
// User Levels
|
||||
define(ADMIN, 4);
|
||||
define(SUPERMOD, 3);
|
||||
define(MODERATOR, 2);
|
||||
define(USER, 1);
|
||||
define(DELETED, -1);
|
||||
define(ANONYMOUS, -1);
|
||||
|
||||
// Forum access levels
|
||||
define(PUBLIC, 1);
|
||||
define(PRIVATE, 2);
|
||||
|
||||
// Forum posting levels
|
||||
define(ANONALLOWED, 2);
|
||||
define(REGONLY, 1);
|
||||
define(MODONLY, 3);
|
||||
|
||||
// Topic state
|
||||
define(UNLOCKED, 0);
|
||||
define(LOCKED, 1);
|
||||
|
||||
// Ban time types
|
||||
define(SECONDS, 1);
|
||||
define(MINUTES, 2);
|
||||
define(HOURS, 3);
|
||||
define(DAYS, 4);
|
||||
define(YEARS, 5);
|
||||
|
||||
// Error codes
|
||||
define(SQL_CONNECT, 1);
|
||||
define(BANNED, 2);
|
||||
define(QUERY_ERROR, 3);
|
||||
define(SESSION_CREATE, 4);
|
||||
define(NO_TOPICS, 5);
|
||||
define(GENERAL_ERROR, 6);
|
||||
define(LOGIN_FAILED, 7);
|
||||
|
||||
// URL PARAMETERS
|
||||
define(POST_TOPIC_URL, 't');
|
||||
define(POST_FORUM_URL, 'f');
|
||||
define(POST_USERS_URL, 'u');
|
||||
|
||||
// Session data
|
||||
$session_cookie = "phpBBsession";
|
||||
$session_cookie_time = 3600;
|
||||
@@ -81,28 +34,11 @@ $dbuser = "";
|
||||
$dbpasswd = "";
|
||||
|
||||
// Date format (needs to go into DB)
|
||||
$date_format = "M d Y h:i:s a";
|
||||
$date_format = "M d Y h:i:s a"; // American datesformat
|
||||
//$date_format = "d-m-Y H:i:s"; // European datesformat
|
||||
|
||||
// DB table config
|
||||
// DB table prefix
|
||||
$table_prefix = "phpbb_";
|
||||
define('BANLIST_TABLE', $table_prefix.'banlist');
|
||||
define('CATEGORIES_TABLE', $table_prefix.'categories');
|
||||
define('CONFIG_TABLE', $table_prefix.'config');
|
||||
define('DISALLOW_TABLE', $table_prefix.'disallow');
|
||||
define('FORUM_ACCESS_TABLE', $table_prefix.'forum_access');
|
||||
define('FORUM_MODS_TABLE', $table_prefix.'forum_mods');
|
||||
define('FORUMS_TABLE', $table_prefix.'forums');
|
||||
define('HEADERMETAFOOTER_TABLE', $table_prefix.'headermetafooter');
|
||||
define('POSTS_TABLE', $table_prefix.'posts');
|
||||
define('POSTS_TEXT_TABLE', $table_prefix.'posts_text');
|
||||
define('PRIV_MSGS_TABLE', $table_prefix.'priv_msgs');
|
||||
define('RANKS_TABLE', $table_prefix.'ranks');
|
||||
define('SESSIONS_TABLE', $table_prefix.'sessions');
|
||||
define('THEMES_TABLE', $table_prefix.'themes');
|
||||
define('TOPICS_TABLE', $table_prefix.'topics');
|
||||
define('USERS_TABLE', $table_prefix.'users');
|
||||
define('WHOSONLINE_TABLE', $table_prefix.'whosonline');
|
||||
define('WORDS_TABLE', $table_prefix.'words');
|
||||
|
||||
$url_images = "images";
|
||||
$image_quote = "$url_images/quote.gif";
|
||||
|
Reference in New Issue
Block a user