parasew / instiki

a basic wiki clone so pretty and easy to set up, you’ll wonder if it’s really a wiki.
https://golem.ph.utexas.edu/wiki/instiki/show/HomePage
502 stars 111 forks source link

DNSBL check disable #37

Open SL-RU opened 8 years ago

SL-RU commented 8 years ago

Hello!

Can you add field for disabling DNSBL checking in config files or etc

cnruby commented 7 years ago

comment the three files with the code ":dnsbl_check".

class AdminController < ApplicationController

  layout 'default'
  cache_sweeper :web_sweeper
  # before_filter :dnsbl_check
class FileController < ApplicationController

  layout 'default'

  before_filter :check_authorized
  #before_filter :check_allow_uploads, :dnsbl_check, :except => [:file, :blahtex_png]
  before_filter :check_allow_uploads, :except => [:file, :blahtex_png]
class WikiController < ApplicationController

  before_filter :load_page
  # before_filter :dnsbl_check, :only => [:edit, :new, :save, :export_html, :export_markup]