forked from leftypol/leftypol
Remove imgcaptcha, this code is unused in any of our forks and needs work to get here back.
Revert "Merge branch 'imgcaptcha' of https://github.com/asiekierka/Tinyboard" This reverts commit49afb685c8
, reversing changes made to2451a0f29c
. Conflicts: js/imgcaptcha.js
This commit is contained in:
parent
8772c31ce1
commit
97a22e57c1
8 changed files with 1 additions and 234 deletions
8
post.php
8
post.php
|
@ -6,7 +6,6 @@
|
|||
|
||||
require 'inc/functions.php';
|
||||
require 'inc/anti-bot.php';
|
||||
require 'inc/imgcaptcha.php';
|
||||
|
||||
// Fix for magic quotes
|
||||
if (get_magic_quotes_gpc()) {
|
||||
|
@ -198,12 +197,7 @@ if (isset($_POST['delete'])) {
|
|||
error($config['error']['captcha']);
|
||||
}
|
||||
}
|
||||
if ($config['imgcaptcha']) {
|
||||
if (!isset($_POST['imgcaptcha_verify']) || !isset($_POST['imgcaptcha_hash']))
|
||||
error($config['error']['bot']);
|
||||
if (ic_verifyHash($_POST['imgcaptcha_hash'],$_POST['imgcaptcha_verify']))
|
||||
error($config['error']['captcha']);
|
||||
}
|
||||
|
||||
if ($post['mod'] = isset($_POST['mod']) && $_POST['mod']) {
|
||||
require 'inc/mod.php';
|
||||
if (!$mod) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue