diff options
author | root <root@diekershoff.homeunix.net> | 2011-01-03 09:27:13 +0100 |
---|---|---|
committer | root <root@diekershoff.homeunix.net> | 2011-01-03 09:27:13 +0100 |
commit | f3005918aff04fc435d0f526bf235bd95468294c (patch) | |
tree | f334d76dbd89093d8448e13e62f8b094159e576c /boot.php | |
parent | 0b4a6f8eaca0d1396e7e944cd4735a573bd1d111 (diff) | |
parent | d92659560b8edd0594b587103b43ad5bd5012639 (diff) | |
download | volse-hubzilla-f3005918aff04fc435d0f526bf235bd95468294c.tar.gz volse-hubzilla-f3005918aff04fc435d0f526bf235bd95468294c.tar.bz2 volse-hubzilla-f3005918aff04fc435d0f526bf235bd95468294c.zip |
Merge branch 'master' of git://github.com/friendika/friendika
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1481,7 +1481,7 @@ function validate_url(&$url) { $url = 'http://' . $url; $h = parse_url($url); - if(($h) && (checkdnsrr($h['host'], 'ANY'))) { + if(($h) && (dns_get_record($h['host'], DNS_A + DNS_CNAME + DNS_PTR))) { return true; } return false; @@ -1496,7 +1496,7 @@ function validate_email($addr) { return false; $h = substr($addr,strpos($addr,'@') + 1); - if(($h) && (checkdnsrr($h, 'ANY'))) { + if(($h) && (dns_get_record($h['host'], DNS_A + DNS_CNAME + DNS_PTR + DNS_MX))) { return true; } return false; |