1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-27 17:00:52 +01:00

wasn't aware of DNS function

This commit is contained in:
Bui 2014-10-06 04:30:32 +09:00 committed by czaks
parent 1e95e58811
commit aba8d27ace

View File

@ -2275,7 +2275,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;
}