aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/config.php
diff options
context:
space:
mode:
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";
?>