1
0
Fork 0
This commit is contained in:
Friendika 2010-11-07 17:29:30 -08:00
commit 9e35fb26f7
5 changed files with 8 additions and 9 deletions

View file

@ -15,7 +15,7 @@ function regmod_content(&$a) {
if($a->argc != 3)
killme();
$cmd = $a->argv[1];
$cmd = $a->argv[1];
$hash = $a->argv[2];
@ -76,7 +76,7 @@ function regmod_content(&$a) {
));
$res = mail($user[0]['email'], t('Registration details for '). $a->config['sitename'],
$email_tpl,'From: ' . t('Administrator@') . $_SERVER[SERVER_NAME] );
$email_tpl,'From: ' . t('Administrator') . '@' . $_SERVER['SERVER_NAME'] );
if($res) {
notice( t('Account approved.') . EOL );