Browse Source

Add E Z board locking feature

pull/18/head
Wesley 9 years ago
parent
commit
2d396c4eb8
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      post.php

+ 4
- 0
post.php View File

@@ -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


Loading…
Cancel
Save