From 4414ef80b41e66a0f1c4d3608d359660e66d04a4 Mon Sep 17 00:00:00 2001 From: 8chan Date: Sun, 5 Oct 2014 17:07:59 +0000 Subject: [PATCH] DNSBLs bypass stuff, fix Opera bug. --- inc/instance-config.php | 7 ++----- post.php | 1 + 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/inc/instance-config.php b/inc/instance-config.php index 854728a5..9dc3430a 100644 --- a/inc/instance-config.php +++ b/inc/instance-config.php @@ -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"; diff --git a/post.php b/post.php index 31b3f9db..cff1e01c 100644 --- a/post.php +++ b/post.php @@ -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()) {