forked from leftypol/leftypol
Add E Z board locking feature
This commit is contained in:
parent
a550c63f9c
commit
2d396c4eb8
1 changed files with 4 additions and 0 deletions
4
post.php
4
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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue