1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-19 09:27:24 +01:00

wasn't aware of DNS function

This commit is contained in:
Bui 2014-10-06 04:30:32 +09:00
parent ca7955ecfc
commit 3f4381cf40

View File

@ -2269,7 +2269,7 @@ function rDNS($ip_addr) {
$isip = filter_var($host, FILTER_VALIDATE_IP);
if ($config['fcrdns'] && !$isip && gethostbyname($host) != $ip_addr) {
if ($config['fcrdns'] && !$isip && DNS($host) != $ip_addr) {
$host = $ip_addr;
}