summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-03-17 03:29:49 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-03-17 03:29:49 +0000
commitbcc834d7fdabd0f52873a4f7696e065e3cf0f281 (patch)
treee28de4e85f40aaabae0a9263bc37346a8666e915 /modules
parent27437304248e6d8fd44c2b997673ea112e08afa8 (diff)
downloadampache-bcc834d7fdabd0f52873a4f7696e065e3cf0f281.tar.gz
ampache-bcc834d7fdabd0f52873a4f7696e065e3cf0f281.tar.bz2
ampache-bcc834d7fdabd0f52873a4f7696e065e3cf0f281.zip
flush out the democratic mojo, make the cooldown work
Diffstat (limited to 'modules')
-rw-r--r--modules/validatemail/validateEmail.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/validatemail/validateEmail.php b/modules/validatemail/validateEmail.php
index f6337806..3d460143 100644
--- a/modules/validatemail/validateEmail.php
+++ b/modules/validatemail/validateEmail.php
@@ -276,6 +276,7 @@ function validateEmail ( $email, $verbose=0 ) {
// check that an MX record exists for Top-Level domain
// If it exists, start our email address checking
+ if (function_exists('checkdnsrr')) {
if ( checkdnsrr ( $domain, "MX" ) ) {
// Okay -- we've got a valid DNS reverse record.
@@ -618,6 +619,8 @@ function validateEmail ( $email, $verbose=0 ) {
$return[0] = false;
$return[1] = "554 No DNS reverse record found for $domain";
} // end checkdnsrr test
+
+ } // if function doesn't exist
} // end walking through each domain possibility