1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-02-17 19:29:28 +01:00

Fix fatal errors on board create/DNSBL bypass

This commit is contained in:
8chan 2015-04-25 18:06:29 -07:00
parent 691bc1c3fa
commit 79168cc4e1
2 changed files with 0 additions and 2 deletions

View File

@ -5,7 +5,6 @@ include "inc/functions.php";
checkBan('*');
if (!isset($_POST['uri'], $_POST['title'], $_POST['subtitle'], $_POST['username'], $_POST['password'])) {
include '8chan-captcha/functions.php';
$password = base64_encode(openssl_random_pseudo_bytes(9));

View File

@ -1,6 +1,5 @@
<?php
include 'inc/functions.php';
include '8chan-captcha/functions.php';
if ($_SERVER['REQUEST_METHOD'] === 'GET') {
$captcha = generate_captcha($config['captcha']['extra']);