mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-28 17:31:00 +01:00
Update post.php
This commit is contained in:
parent
16e2e39bdd
commit
f79c87b2e0
4
post.php
4
post.php
@ -236,7 +236,9 @@ elseif (isset($_POST['post'])) {
|
||||
}
|
||||
|
||||
// Same, but now with our custom captcha provider
|
||||
if ($config['captcha']['enabled']) {
|
||||
//if ($config['captcha']['enabled']) {
|
||||
//New thread captcha
|
||||
if (($config['captcha']['enabled']) || (($post['op']) && ($config['new_thread_capt'])) ) {
|
||||
$resp = file_get_contents($config['captcha']['provider_check'] . "?" . http_build_query([
|
||||
'mode' => 'check',
|
||||
'text' => $_POST['captcha_text'],
|
||||
|
Loading…
Reference in New Issue
Block a user