1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-24 23:50:11 +01:00

Update post.php

This commit is contained in:
blahblah666 2015-01-28 23:18:05 -08:00
parent 16e2e39bdd
commit f79c87b2e0

View File

@ -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'],