forked from GithubBackups/vichan
fixed custom filters
This commit is contained in:
parent
0b9cea4d67
commit
d651b37ba9
4
post.php
4
post.php
@ -403,7 +403,6 @@
|
||||
$did_not_match = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if(!isset($did_not_match)) {
|
||||
// Matched filter!
|
||||
if(isset($filter) && $filter['action'] == 'reject') {
|
||||
@ -411,6 +410,9 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
exit;
|
||||
|
||||
if($post['has_file']) {
|
||||
if(!in_array($post['extension'], $config['allowed_ext']) && !in_array($post['extension'], $config['allowed_ext_files']))
|
||||
|
Loading…
x
Reference in New Issue
Block a user