1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-02-20 20:51:50 +01:00

DNSBLs bypass stuff, fix Opera bug.

This commit is contained in:
8chan 2014-10-05 17:07:59 +00:00
parent 7bfbd10d69
commit 4414ef80b4
2 changed files with 3 additions and 5 deletions

View File

@ -26,11 +26,10 @@
$config['spam']['hidden_inputs_expire'] = 60 * 60 * 4; // three hours
$config['flood_time'] = 5;
$config['flood_time_ip'] = 2;
$config['flood_time_ip'] = 30;
$config['flood_time_same'] = 2;
$config['max_body'] = 5000;
$config['reply_limit'] = 250;
$config['max_links'] = 20;
$config['thumb_width'] = 255;
$config['thumb_height'] = 255;
$config['max_width'] = 10000;
@ -125,7 +124,7 @@
$config['additional_javascript'][] = 'js/id_highlighter.js';
$config['additional_javascript'][] = 'js/id_colors.js';
$config['font_awesome_css'] = '//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css';
$config['font_awesome_css'] = '/netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css';
$config['stylesheets']['Dark'] = 'dark.css';
$config['stylesheets']['Photon'] = 'photon.css';
@ -393,5 +392,3 @@ EOT;
);
$config['gzip_static'] = false;
require_once "dnsbls.php";

View File

@ -5,6 +5,7 @@
require 'inc/functions.php';
require 'inc/anti-bot.php';
include "inc/dnsbls.php";
// Fix for magic quotes
if (get_magic_quotes_gpc()) {