diff --git a/classes/script_start.php b/classes/script_start.php index 9ae9ceef..83cd3e0e 100644 --- a/classes/script_start.php +++ b/classes/script_start.php @@ -431,7 +431,11 @@ function site_ban_ip($IP) { $TorIPs = $Cache->get_value('tor_ips'); if (!is_array($TorIPs)) { $TorIPs = file('https://check.torproject.org/cgi-bin/TorBulkExitList.py?ip=' . SITE_IP, FILE_IGNORE_NEW_LINES); - $Cache->cache_value('tor_ips', $TorIPs, 3600 * 4); + if($TorIPs === false) { + $Cache->cache_value('tor_ips', array(), 1800); + } else { + $Cache->cache_value('tor_ips', $TorIPs, 3600 * 4); + } } if (in_array($IP, $TorIPs)) { return true; diff --git a/sections/donate/donate.php b/sections/donate/donate.php index a36e7abe..f83cb378 100644 --- a/sections/donate/donate.php +++ b/sections/donate/donate.php @@ -89,6 +89,7 @@ } ?> +
Please be aware that by making a donation you aren't purchasing donor status or invites. You are helping us pay the bills and cover the costs of running the site. We are doing our best to give the benefits to donors but sometimes it might take more than 48 hours. If it has been more than 48 hours and you were not credited, let us know by sending us a Staff PM. We will answer as quickly as possible.