aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config.php
diff options
context:
space:
mode:
authorJames Atkinson <thefinn@users.sourceforge.net>2001-02-22 06:10:12 +0000
committerJames Atkinson <thefinn@users.sourceforge.net>2001-02-22 06:10:12 +0000
commit8918532a1329157916e539ee84cd711fd3f267bc (patch)
tree0bfcb465225f44365a137d76a1dd077ea0a7161d /phpBB/config.php
parent658df35cd4c176916e7cd0bd766bb8c8e0cc77d1 (diff)
downloadforums-8918532a1329157916e539ee84cd711fd3f267bc.tar
forums-8918532a1329157916e539ee84cd711fd3f267bc.tar.gz
forums-8918532a1329157916e539ee84cd711fd3f267bc.tar.bz2
forums-8918532a1329157916e539ee84cd711fd3f267bc.tar.xz
forums-8918532a1329157916e539ee84cd711fd3f267bc.zip
phpBB 2 is started
git-svn-id: file:///svn/phpbb/trunk@13 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/config.php')
-rw-r--r--phpBB/config.php45
1 files changed, 44 insertions, 1 deletions
diff --git a/phpBB/config.php b/phpBB/config.php
index b4278d1182..a7b442d483 100644
--- a/phpBB/config.php
+++ b/phpBB/config.php
@@ -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";
?>