forked from GithubBackups/vichan
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
|
// 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([
|
$resp = file_get_contents($config['captcha']['provider_check'] . "?" . http_build_query([
|
||||||
'mode' => 'check',
|
'mode' => 'check',
|
||||||
'text' => $_POST['captcha_text'],
|
'text' => $_POST['captcha_text'],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user