summaryrefslogtreecommitdiff
path: root/inc/config.php
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2010-12-17 02:20:16 +1100
committerSavetheinternet <savetheinternet@n0v4.com>2010-12-17 02:20:16 +1100
commit9554291802cb8ac712ba25d1a59ced31d20b07f0 (patch)
tree6861b6ebffe4e2f54573907cc789b34648d59c24 /inc/config.php
parent4052d6350214e5384cfe15823e29197d2eaf7326 (diff)
Mod controls and permissions
Diffstat (limited to 'inc/config.php')
-rw-r--r--inc/config.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/inc/config.php b/inc/config.php
index 4e48b6d5..8f265a78 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -152,6 +152,7 @@
// Permissions
// What level of administration you need to:
+ /* Post Controls */
// View IP addresses
define('MOD_SHOW_IP', MOD_MOD, true);
// Delete a post
@@ -167,6 +168,12 @@
// Sticky a thread
define('MOD_STICKY', MOD_MOD, true);
+ /* Administration */
+ // Display the contents of instant-config.php
+ define('MOD_SHOW_CONFIG', MOD_ADMIN, true);
+ // Create a new board
+ define('MOD_NEWBOARD', MOD_ADMIN, true);
+
// Mod links (full HTML)
// Correspond to above permission directives
define('MOD_LINK_DELETE', '[D]', true);
@@ -175,6 +182,7 @@
define('MOD_LINK_DELETEFILE', '[F]', true);
define('MOD_LINK_DELETEBYIP', '[D+]', true);
define('MOD_LINK_STICKY', '[Sticky]', true);
+ define('MOD_LINK_DESTICKY', '[-Sticky]', true);
// A small file in the main directory indicating that the script has been ran and the board(s) have been generated.
// This keeps the script from querying the database and causing strain when not needed.