summaryrefslogtreecommitdiff
path: root/post.php
diff options
context:
space:
mode:
authorWesley <dddudeman9@gmail.com>2015-02-15 21:16:36 -0500
committerWesley <dddudeman9@gmail.com>2015-02-15 21:16:36 -0500
commit2d396c4eb8a96f3b3da0eb0ed00a83f049e9b0ef (patch)
tree723519473fba753af9735fa88387b51ccbe19117 /post.php
parenta550c63f9c896ddba236d9136998a858c233b492 (diff)
Add E Z board locking feature
Diffstat (limited to 'post.php')
-rw-r--r--post.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/post.php b/post.php
index 45fd021e..d1c963f5 100644
--- a/post.php
+++ b/post.php
@@ -16,6 +16,10 @@ if (get_magic_quotes_gpc()) {
$_POST = strip_array($_POST);
}
+if (!$_POST['mod'] && $config['board_locked']) {
+ error("Board is locked");
+}
+
if (isset($_POST['delete'])) {
// Delete