]> git.mxchange.org Git - friendica.git/blobdiff - mod/dfrn_request.php
report failure to generate keys
[friendica.git] / mod / dfrn_request.php
index a7296fec03cf729249a1d9119bb056c29f09c3dd..60106661cb38afd37d07f3581a731c5446716617 100644 (file)
@@ -192,6 +192,8 @@ function dfrn_request_post(&$a) {
                        $network = 'dfrn';
                }
 
+               logger('dfrn_request: url: ' . $url);
+
                if(! strlen($url)) {
                        notice( t("Unable to resolve your name at the provided location.") . EOL);                      
                        return;
@@ -441,7 +443,7 @@ function dfrn_request_content(&$a) {
                                        $res = mail($r[0]['email'], 
                                                t("Introduction received at ") . $a->config['sitename'],
                                                $email,
-                                               'From: ' . t('Administrator') . '@' . $_SERVER[SERVER_NAME] );
+                                               'From: ' . t('Administrator') . '@' . $_SERVER['SERVER_NAME'] );
                                        // This is a redundant notification - no point throwing errors if it fails.
                                }
                                if($auto_confirm) {