mirror of
https://github.com/neocities/neocities.git
synced 2025-06-18 02:14:41 +02:00
Improvements & fixes for vagrant staging
This commit is contained in:
parent
e6d2e4d29b
commit
b36a062eb4
7 changed files with 17 additions and 11 deletions
|
@ -78,7 +78,6 @@ class Site < Sequel::Model
|
|||
EMPTY_FILE_HASH = Digest::SHA1.hexdigest ''
|
||||
|
||||
PHISHING_FORM_REGEX = /www.formbuddy.com\/cgi-bin\/form.pl/i
|
||||
SPAM_MATCH_REGEX = ENV['RACK_ENV'] == 'test' ? /pillz/ : /#{$config['spam_smart_filter'].join('|')}/i
|
||||
EMAIL_SANITY_REGEX = /.+@.+\..+/i
|
||||
EDITABLE_FILE_EXT = /#{VALID_EDITABLE_EXTENSIONS.join('|')}/i
|
||||
BANNED_TIME = 2592000 # 30 days in seconds
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue