mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-20 23:41:29 +02:00
phpBB 2 is started
git-svn-id: file:///svn/phpbb/trunk@13 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/***************************************************************************
|
||||
*
|
||||
* config.php
|
||||
* -------------------
|
||||
* begin : Saturday, Feb 13, 2001
|
||||
* copyright : (C) 2001 The phpBB Group
|
||||
@@ -22,6 +22,49 @@
|
||||
*
|
||||
***************************************************************************/
|
||||
|
||||
// Constants
|
||||
// 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, 1);
|
||||
define(REGONLY, 2);
|
||||
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);
|
||||
|
||||
|
||||
$session_cookie = "phpBBsession";
|
||||
$session_cookie_time = 3600;
|
||||
|
||||
$dbms = "mysql";
|
||||
$dbhost = "localhost";
|
||||
$dbname = "phpbb2";
|
||||
$dbuser = "root";
|
||||
$dbpasswd = "zocalo";
|
||||
|
||||
?>
|
||||
|
Reference in New Issue
Block a user